pydantic
pydantic-core
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
move `check` from `Extra` to `SerializationState`
#1862
Merged
Comparing
dh/ser-state-check
(
b1218c1
) with
main
(
423264f
)
CodSpeed Performance Gauge
-12%
Regression
1
Untouched
162
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Untouched
163 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_list_of_strs_json_uncached
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-12%
339.1 µs
384.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_many_models_core_dict
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+7%
1,003.7 µs
934.6 µ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.7 ms
1.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complete_core_error
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+2%
1.8 ms
1.7 ms
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
+2%
1.4 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_int_range_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
16 µs
15.7 µ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_to_string_direct
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
18.5 µs
18.3 µ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.6 µs
16.4 µ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
+1%
19.1 µs
18.9 µ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
+1%
15.8 µs
15.6 µ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.2 µ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
+1%
17.2 µs
17.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_generator_rust
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
18.7 µs
18.5 µ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
+1%
15.8 µs
15.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_function_wrap_json
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
30.8 µs
30.6 µ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.3 µs
20.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dataclass_to_json
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
39.2 µs
38.9 µ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.3 µs
16.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_tagged_union_int_keys_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
24.8 µs
24.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_uuid_from_string_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID
CodSpeed Performance Gauge
+1%
32 µs
31.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_to_string_format
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
22.6 µs
22.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_future
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX
CodSpeed Performance Gauge
+1%
18.1 µs
18 µ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.9 µs
13.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_json_any_list_int
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
203.9 µs
202.7 µs
1
2
3
4
5
6
7
Commits
Click on a commit to change the comparison range
Base
main
423264f
-11.79%
move `check` from `Extra` to `SerializationState`
b1218c1
5 months ago
by davidhewitt
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs