Avatar for the pydantic user
pydantic
pydantic
BlogDocsChangelog

Ensure BaseModel behaves alike with annotated types as TypeAdapter

#9238Closed
Comparing
hellozee:annonated_field_combine
(
44dd07b
) with
main
(
6aab43e
)
CodSpeed Performance Gauge
0%
Untouched
13

Benchmarks

13 total
test_north_star_json_dumps
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
+2%
22.4 ms22 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_simple.py
CodSpeed Performance Gauge
0%
36.7 ms36.5 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_generics.py
CodSpeed Performance Gauge
0%
307.6 ms307.1 ms
test_schema_build
tests/benchmarks/test_discriminated_unions.py
CodSpeed Performance Gauge
0%
4.2 ms4.2 ms
test_north_star_validate_python_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
28.9 ms28.8 ms
test_construct_schema
tests/benchmarks/test_schema_build.py
CodSpeed Performance Gauge
0%
5 ms4.9 ms
test_north_star_dump_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
17 ms17 ms
test_north_star_validate_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
52.8 ms52.8 ms
test_north_star_dump_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
35 ms35 ms
test_north_star_json_loads
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
22 ms22 ms
test_north_star_validate_json_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
52.6 ms52.6 ms
test_north_star_validate_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
43.8 ms43.8 ms
test_efficiency_with_highly_nested_examples
tests/benchmarks/test_discriminated_unions.py
CodSpeed Performance Gauge
0%
832.8 µs833.7 µs

Commits

Click on a commit to change the comparison range
Base
main
6aab43e
+0.21%
Ensure BaseModel behaves alike with annotated types as TypeAdapter
44dd07b
2 years ago
by hellozee
© 2026 CodSpeed Technology
Home Terms Privacy Docs