Avatar for the pydantic user
pydantic
pydantic
BlogDocsChangelog

Improve `pyright` tests, refactor model decorators signatures

#10092Merged
Comparing
10078-1
(
4493ecc
) with
main
(
07b7f64
)
CodSpeed Performance Gauge
0%
Untouched
17

Benchmarks

Passed

test_construct_schema
tests/benchmarks/test_schema_build.py::test_construct_schema
CodSpeed Performance Gauge
0%
4.8 ms4.8 ms
test_schema_build
tests/benchmarks/test_discriminated_unions.py::test_schema_build
CodSpeed Performance Gauge
0%
3.6 ms3.5 ms
test_efficiency_with_highly_nested_examples
tests/benchmarks/test_discriminated_unions.py::test_efficiency_with_highly_nested_examples
CodSpeed Performance Gauge
0%
975.9 µs973 µs
test_isinstance_basemodel
tests/benchmarks/test_isinstance.py::test_isinstance_basemodel
CodSpeed Performance Gauge
0%
27.1 ms27 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_generics.py::test_fastapi_startup_perf
CodSpeed Performance Gauge
0%
254.9 ms254.4 ms
test_import_field
tests/benchmarks/test_imports.py::test_import_field
CodSpeed Performance Gauge
0%
83.6 µs83.4 µs
test_lots_of_models_with_lots_of_fields
tests/benchmarks/test_schema_build.py::test_lots_of_models_with_lots_of_fields
CodSpeed Performance Gauge
0%
4.4 s4.4 s
test_north_star_dump_python
tests/benchmarks/test_north_star.py::test_north_star_dump_python
CodSpeed Performance Gauge
0%
17.1 ms17.1 ms
test_north_star_validate_python
tests/benchmarks/test_north_star.py::test_north_star_validate_python
CodSpeed Performance Gauge
0%
44.2 ms44.2 ms
test_north_star_validate_json
tests/benchmarks/test_north_star.py::test_north_star_validate_json
CodSpeed Performance Gauge
0%
52.8 ms52.8 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_simple.py::test_fastapi_startup_perf
CodSpeed Performance Gauge
0%
31.3 ms31.3 ms
test_import_basemodel
tests/benchmarks/test_imports.py::test_import_basemodel
CodSpeed Performance Gauge
0%
84.5 µs84.5 µs
test_north_star_json_loads
tests/benchmarks/test_north_star.py::test_north_star_json_loads
CodSpeed Performance Gauge
0%
22.1 ms22.1 ms
test_north_star_validate_python_strict
tests/benchmarks/test_north_star.py::test_north_star_validate_python_strict
CodSpeed Performance Gauge
0%
29.5 ms29.5 ms
test_north_star_validate_json_strict
tests/benchmarks/test_north_star.py::test_north_star_validate_json_strict
CodSpeed Performance Gauge
0%
52.6 ms52.6 ms
test_north_star_dump_json
tests/benchmarks/test_north_star.py::test_north_star_dump_json
CodSpeed Performance Gauge
0%
30.9 ms30.9 ms
test_north_star_json_dumps
tests/benchmarks/test_north_star.py::test_north_star_json_dumps
CodSpeed Performance Gauge
-2%
23.5 ms24.1 ms

Commits

Click on a commit to change the comparison range
Base
main
07b7f64
-0.05%
Improve `pyright` tests, refactor model decorators signatures Update documentation regarding invalid decorators
630d927
1 year ago
by Viicos
+0.02%
Rename type aliases
4493ecc
1 year ago
by Viicos
© 2025 CodSpeed Technology
Home Terms Privacy Docs