Avatar for the pydantic user
pydantic
pydantic
BlogDocsChangelog

Fix circular import with `validate_call`

#10807Merged
Comparing
fix-circular-ref
(
21f5813
) with
main
(
421c2fb
)
CodSpeed Performance Gauge
0%
Untouched
43
Ignored
2

Benchmarks

45 total
test_list_of_models_serialization
tests/benchmarks/test_model_serialization.py
CodSpeed Performance Gauge
+2%
64 µs62.8 µs
test_isinstance_basemodel
tests/benchmarks/test_isinstance.py
CodSpeed Performance Gauge
+1%
26.7 ms26.6 ms
test_north_star_validate_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
48.4 ms48.2 ms
test_deeply_nested_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py
CodSpeed Performance Gauge
0%
1.7 ms1.7 ms
test_model_json_serialization
tests/benchmarks/test_model_serialization.py
CodSpeed Performance Gauge
0%
66.2 µs65.9 µs
test_north_star_validate_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
56.8 ms56.7 ms
test_simple_model_validation[__init__]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
43.6 µs43.4 µs
test_model_validators_serializers
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_north_star_validate_json_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
56.6 ms56.5 ms
test_simple_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py
CodSpeed Performance Gauge
0%
1 ms1 ms
test_import_basemodel
tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
26.2 µs26.1 µs
test_nested_model_schema_generation
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_simple.py
CodSpeed Performance Gauge
0%
32.6 ms32.5 ms
test_simple_model_serialization
tests/benchmarks/test_model_serialization.py
CodSpeed Performance Gauge
0%
34.7 µs34.6 µs
test_efficiency_with_highly_nested_examples
tests/benchmarks/test_discriminated_unions.py
CodSpeed Performance Gauge
0%
905.2 µs904.2 µs
test_tagged_union_with_callable_discriminator_schema_generation
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
2.1 ms2.1 ms
test_complex_model_validation[model_validate]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
59.2 µs59.1 µs
test_nested_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py
CodSpeed Performance Gauge
0%
2.4 ms2.4 ms
test_simple_model_schema_generation
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
1 ms1 ms
test_complex_model_validation[__init__]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
59 µs59 µs
test_north_star_validate_python_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
30.2 ms30.2 ms
test_north_star_dump_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
31.5 ms31.5 ms
test_lots_of_models_with_lots_of_fields
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
3.7 s3.7 s
test_complex_model_schema_generation
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
2.9 ms2.9 ms
test_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms

Commits

Click on a commit to change the comparison range
Base
main
421c2fb
-0.12%
fix circular import
67614ff
1 year ago
by sydney-runkle
+0.11%
val call decorator too
21f5813
1 year ago
by sydney-runkle
© 2026 CodSpeed Technology
Home Terms Privacy Docs