Avatar for the pydantic user
pydantic
pydantic
BlogDocsChangelog

Simplify schema generation for uuid, url, and ip types

#9975Merged
Comparing
uuid-move
(
3b97ab5
) with
main
(
d7931c0
)
CodSpeed Performance Gauge
0%
Untouched
14

Benchmarks

14 total
test_schema_build
tests/benchmarks/test_discriminated_unions.py
CodSpeed Performance Gauge
+2%
4.3 ms4.2 ms
test_north_star_json_dumps
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
+2%
24 ms23.6 ms
test_lots_of_models_with_lots_of_fields
tests/benchmarks/test_schema_build.py
CodSpeed Performance Gauge
+2%
5.5 s5.4 s
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_generics.py
CodSpeed Performance Gauge
+1%
321 ms316.6 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_simple.py
CodSpeed Performance Gauge
+1%
37.7 ms37.2 ms
test_north_star_validate_json_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
52.9 ms52.9 ms
test_north_star_validate_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
53.1 ms53.1 ms
test_north_star_validate_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
44.1 ms44.1 ms
test_construct_schema
tests/benchmarks/test_schema_build.py
CodSpeed Performance Gauge
0%
5 ms5 ms
test_north_star_json_loads
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
22.2 ms22.2 ms
test_efficiency_with_highly_nested_examples
tests/benchmarks/test_discriminated_unions.py
CodSpeed Performance Gauge
0%
966.9 µs968.5 µs
test_north_star_validate_python_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
29.4 ms29.5 ms
test_north_star_dump_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
34.4 ms34.5 ms
test_north_star_dump_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
-1%
16.9 ms17 ms

Commits

Click on a commit to change the comparison range
Base
main
d7931c0
+0.46%
move things that don't need to be expanded w annotations
3b97ab5
2 years ago
by sydney-runkle
© 2026 CodSpeed Technology
Home Terms Privacy Docs