Avatar for the pydantic user
pydantic
pydantic
BlogDocsChangelog

Allow usage of `type[Annotated[...]]`

#9932Merged
Comparing
Viicos:allow-type-annotated
(
4fd47f8
) with
main
(
cc90fb0
)
CodSpeed Performance Gauge
0%
Untouched
13

Benchmarks

13 total
test_north_star_validate_json_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
52.9 ms52.8 ms
test_construct_schema
tests/benchmarks/test_schema_build.py
CodSpeed Performance Gauge
0%
5 ms5 ms
test_north_star_dump_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
16.9 ms16.9 ms
test_north_star_dump_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
34.5 ms34.5 ms
test_north_star_validate_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
53.1 ms53 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_simple.py
CodSpeed Performance Gauge
0%
37.4 ms37.4 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_generics.py
CodSpeed Performance Gauge
0%
318.2 ms318.1 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.1 ms
test_north_star_json_loads
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
22.2 ms22.2 ms
test_schema_build
tests/benchmarks/test_discriminated_unions.py
CodSpeed Performance Gauge
0%
4.3 ms4.3 ms
test_efficiency_with_highly_nested_examples
tests/benchmarks/test_discriminated_unions.py
CodSpeed Performance Gauge
0%
967.2 µs970.1 µs
test_north_star_json_dumps
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
-3%
22 ms22.6 ms

Commits

Click on a commit to change the comparison range
Base
main
cc90fb0
-0.19%
Allow usage of `type[Annotated[...]]`
4fd47f8
2 years ago
by Viicos
© 2026 CodSpeed Technology
Home Terms Privacy Docs