pydantic
pydantic-core
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
fix: model validator assignment consistency
#1798
Comparing
mot3:fix/model-validator-assignment-dict-issue
(
da2af49
) with
main
(
ed0d1ca
)
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_set_of_ints_core_json_duplicates
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+9%
431.3 µs
396.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complete_core_isinstance
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+1%
1.8 ms
1.7 ms
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.5 µs
16.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[python-few_mixed]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
17 µs
16.8 µ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.6 µs
18.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_python_fs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
+1%
69.6 µs
68.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_isinstance_string_lax_false
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
15.5 µs
15.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_json
tests/benchmarks/test_serialization_micro.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
+1%
83.1 µs
82.3 µ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.9 µs
18.7 µ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.7 µs
16.6 µ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.8 µs
17.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_arguments
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
24.7 µs
24.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_enum_int_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
14.9 µs
14.8 µ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%
19.1 µs
18.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_positional_tuple
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
18.9 µs
18.8 µ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
+1%
15.2 µs
15.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[python-few_large_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
15.3 µs
15.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_list_of_dict_models_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
96 µs
95.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.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%
124.9 µs
124.1 µ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.2 µs
172.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_build_schema
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+1%
339 µs
336.8 µs
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
+1%
406.3 µs
403.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.4 µs
14.3 µ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.5 µs
14.4 µs
1
2
...
7
Commits
Click on a commit to change the comparison range
Base
main
ed0d1ca
+0.17%
fix: ensure model before validators receive consistent pre-update state during assignment
da2af49
4 months ago
by mot3
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs