pydantic
pydantic-core
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
avoid getting default values from defaultdict
#1853
Merged
Comparing
dh/defaultdict
(
11104ea
) with
main
(
eed392b
)
CodSpeed Performance Gauge
0%
Untouched
163
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
163 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dict_of_ints_core_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+4%
1.4 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_isinstance_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
18.2 µs
18 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dont_raise_error_no_info
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
17.3 µs
17 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dont_raise_error
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
19.4 µs
19.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_to_json_list_of_lists
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
2.1 ms
2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_uuid_from_string_pyd
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID
CodSpeed Performance Gauge
+1%
48 µs
47.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_json_fs
tests/benchmarks/test_micro_benchmarks.py::TestModelLarge
CodSpeed Performance Gauge
+1%
173.9 µs
171.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[json-few_str_enum]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
20.1 µs
19.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
+1%
16.3 µs
16.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_python
tests/benchmarks/test_micro_benchmarks.py::TestModelLarge
CodSpeed Performance Gauge
+1%
125.5 µs
124.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_model_exclude_unset_false
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
29.6 µs
29.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_raw
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID
CodSpeed Performance Gauge
+1%
13.8 µs
13.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_uuid_from_uuid_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID
CodSpeed Performance Gauge
+1%
13.8 µs
13.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_date_from_date
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX
CodSpeed Performance Gauge
+1%
14 µs
13.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_smart_union_coerce_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion
CodSpeed Performance Gauge
+1%
17.5 µs
17.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_uuid_from_uuid_pyd
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID
CodSpeed Performance Gauge
+1%
14.7 µs
14.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_tuple_many_positional
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
17.7 µs
17.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_root_model
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
36.2 µs
35.8 µ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.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID
CodSpeed Performance Gauge
+1%
31.9 µs
31.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complete_core_strict
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+1%
249.9 µs
247.8 µ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.4 µs
26.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_model_json
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
25.3 µs
25.1 µ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.1 µs
13.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_future_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
+1%
18.7 µs
18.5 µs
1
2
3
4
5
6
7
Commits
Click on a commit to change the comparison range
Base
main
eed392b
+0.18%
avoid getting values from `defaultdict`
11104ea
5 months ago
by davidhewitt
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs