pydantic
pydantic
BlogDocsChangelog

Move annotation compatibility errors to validation phase

#9999Merged
Comparing
strict-annotation-apps
(
fd12aa4
) with
main
(
f45033e
)
CodSpeed Performance Gauge
0%
Untouched
14

Benchmarks

Passed

test_north_star_validate_json_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
52.9 ms52.8 ms
test_north_star_dump_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
17 ms16.9 ms
test_north_star_validate_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
53.1 ms53.1 ms
test_lots_of_models_with_lots_of_fields
tests/benchmarks/test_schema_build.py
CodSpeed Performance Gauge
0%
5.1 s5.1 s
test_north_star_json_loads
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
22.2 ms22.1 ms
test_north_star_dump_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
34.5 ms34.5 ms
test_schema_build
tests/benchmarks/test_discriminated_unions.py
CodSpeed Performance Gauge
0%
4 ms4 ms
test_north_star_validate_python_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
29.4 ms29.4 ms
test_north_star_validate_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
44.1 ms44.2 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_generics.py
CodSpeed Performance Gauge
0%
298.7 ms299 ms
test_efficiency_with_highly_nested_examples
tests/benchmarks/test_discriminated_unions.py
CodSpeed Performance Gauge
0%
967.9 µs969 µs
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_simple.py
CodSpeed Performance Gauge
0%
34.7 ms34.7 ms
test_construct_schema
tests/benchmarks/test_schema_build.py
CodSpeed Performance Gauge
0%
5 ms5 ms
test_north_star_json_dumps
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
-2%
23.5 ms23.9 ms

Commits

Click on a commit to change the comparison range
Base
main
f45033e
-0.01%
fix most tests, be more strict
99274d9
1 year ago
by sydney-runkle
+0.07%
add reason
52b1b83
1 year ago
by sydney-runkle
+0.05%
more runtime warnings
6c9691e
1 year ago
by sydney-runkle
-0.03%
little bit of refactoring
f83f6bd
1 year ago
by sydney-runkle
-0.03%
switch back to runtime error
50be606
1 year ago
by sydney-runkle
-0.11%
add verbose flag to debug error
143c31f
1 year ago
by sydney-runkle
-0.1%
Merge branch 'main' into strict-annotation-apps
fd12aa4
1 year ago
by sydney-runkle
© 2025 CodSpeed Technology
Home Terms Privacy Docs