pydantic
pydantic
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Adding v1 / v2 incompatibility warning for nested v1 model
#10431
Merged
Comparing
incompat-warning
(
8f9599f
) with
main
(
59a3de7
)
CodSpeed Performance Gauge
0%
Untouched
48
Ignored
2
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
Ignored
50 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_list_of_models_validation[model_validate]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
+1%
97.9 µs
97.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_efficiency_with_highly_nested_examples
tests/benchmarks/test_discriminated_unions.py
CodSpeed Performance Gauge
0%
974.3 µs
970.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_import_basemodel
tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
84.5 µs
84.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complex_model_validation[model_validate]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
57.3 µs
57.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_north_star_dump_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
17 ms
16.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_model_validation[model_validate]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
43.8 µs
43.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complex_model_validation[__init__]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
57.6 µs
57.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_nested_model_validation[__init__]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
60.4 µs
60.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_isinstance_basemodel
tests/benchmarks/test_isinstance.py
CodSpeed Performance Gauge
0%
26.3 ms
26.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_list_of_models_validation[__init__]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
100.4 µs
100.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_import_field
tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
83.3 µs
83.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_model_json_serialization
tests/benchmarks/test_model_serialization.py
CodSpeed Performance Gauge
0%
66 µs
65.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_nested_model_schema_generation
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
3.6 ms
3.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_model_validation[__init__]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
42.6 µs
42.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complex_model_schema_generation
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
3.4 ms
3.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_custom_serializer_plain_annotated
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
1.5 ms
1.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_custom_serializer_wrap_annotated
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
1.6 ms
1.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_north_star_json_loads
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
22.7 ms
22.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_north_star_json_dumps
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
24.3 ms
24.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_lots_of_models_with_lots_of_fields
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
4.4 s
4.4 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_schema_build
tests/benchmarks/test_discriminated_unions.py
CodSpeed Performance Gauge
0%
3.5 ms
3.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_custom_model_validator_after
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
1.3 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_north_star_validate_json_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
53.1 ms
53.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_custom_field_validator_via_annotation[BeforeValidator]
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
1.4 ms
1.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_custom_model_validator_wrap
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
1.3 ms
1.3 ms
1
2
Commits
Click on a commit to change the comparison range
Base
main
59a3de7
-0.11%
adding v1 / v2 incompatibility warning
5316632
2 years ago
by sydney-runkle
+0.09%
ticks
74c2ff1
2 years ago
by sydney-runkle
-0.08%
modifying warning
8f9599f
2 years ago
by sydney-runkle
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs