pydantic
pydantic-core
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
`JsonValue`: Deduplicate keys before populating Dict
#1865
Merged
Comparing
friendlymatthew/dedup-keys-before-building-dict
(
2bbac0c
) with
main
(
f892755
)
CodSpeed Performance Gauge
-11%
Untouched
163
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
163 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_many_models_core_dict
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+6%
1,002 µs
944.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complete_core_isinstance
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+3%
1.8 ms
1.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_multi_host_url_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
34 µs
33.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[python-many_ints]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
14.7 µs
14.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[json-few_ints]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
15.9 µs
15.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[json-many_ints]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
15.9 µs
15.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[python-many_large_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
15.2 µs
14.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[json-few_large_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
16.4 µs
16.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_date_from_datetime_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX
CodSpeed Performance Gauge
+2%
19.4 µs
19.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[json-few_mixed]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
18.5 µs
18.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[json-many_small_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
16.2 µs
16 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_definition_model_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
1.1 ms
1.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_date_format_function
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
52.4 µs
51.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_int_range_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
15.9 µs
15.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_python
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
+1%
26.6 µs
26.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[json-many_large_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
16.4 µs
16.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_strict_union_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion
CodSpeed Performance Gauge
+1%
16.5 µs
16.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_raw
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
+1%
14.2 µs
14.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_string_strict_wrong
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
26.2 µs
26 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_int_range
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
14.7 µs
14.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_generator_python
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
22.8 µs
22.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
+1%
18.5 µs
18.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_raise_error_value_error
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
35.8 µs
35.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_json_direct_list_int
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
153.2 µs
152.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_chain_list
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
24.6 µs
24.5 µs
1
2
3
4
5
6
7
Commits
Click on a commit to change the comparison range
Base
main
f892755
-11.39%
Deduplicate keys before populating PyDict
2bbac0c
5 months ago
by friendlymatthew
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs