pydantic
pydantic
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Revert "ci: use locally built pydantic-core with debug symbols
#10942
Merged
Comparing
revert-codspeed-ci
(
9980020
) with
main
(
ed29a35
)
CodSpeed Performance Gauge
-10%
Regressions
17
Untouched
28
Ignored
2
Benchmarks
Failed
test_simple_model_serialization
Regression
tests/benchmarks/test_model_serialization.py::test_simple_model_serialization
CodSpeed Performance Gauge
-6%
32.6 µs
34.7 µs
test_model_json_serialization
Regression
tests/benchmarks/test_model_serialization.py::test_model_json_serialization
CodSpeed Performance Gauge
-8%
60.5 µs
65.6 µs
test_nested_model_validation[model_validate]
Regression
tests/benchmarks/test_model_validation.py::test_nested_model_validation[model_validate]
CodSpeed Performance Gauge
-8%
54.2 µs
58.8 µs
test_efficiency_with_highly_nested_examples
Regression
tests/benchmarks/test_discriminated_unions.py::test_efficiency_with_highly_nested_examples
CodSpeed Performance Gauge
-8%
719 µs
784.3 µs
test_simple_model_validation[model_validate]
Regression
tests/benchmarks/test_model_validation.py::test_simple_model_validation[model_validate]
CodSpeed Performance Gauge
-6%
41.2 µs
43.7 µs
test_complex_model_validation[model_validate]
Regression
tests/benchmarks/test_model_validation.py::test_complex_model_validation[model_validate]
CodSpeed Performance Gauge
-9%
54.2 µs
59.4 µs
test_list_of_models_validation[__init__]
Regression
tests/benchmarks/test_model_validation.py::test_list_of_models_validation[__init__]
CodSpeed Performance Gauge
-7%
94.3 µs
101.2 µs
test_complex_model_validation[__init__]
Regression
tests/benchmarks/test_model_validation.py::test_complex_model_validation[__init__]
CodSpeed Performance Gauge
-8%
54.4 µs
58.9 µs
test_list_of_models_serialization
Regression
tests/benchmarks/test_model_serialization.py::test_list_of_models_serialization
CodSpeed Performance Gauge
-6%
59.5 µs
63.5 µs
test_north_star_validate_json_strict
Regression
tests/benchmarks/test_north_star.py::test_north_star_validate_json_strict
CodSpeed Performance Gauge
-6%
53.2 ms
56.4 ms
test_simple_model_validation[__init__]
Regression
tests/benchmarks/test_model_validation.py::test_simple_model_validation[__init__]
CodSpeed Performance Gauge
-5%
40 µs
42.3 µs
test_nested_model_validation[__init__]
Regression
tests/benchmarks/test_model_validation.py::test_nested_model_validation[__init__]
CodSpeed Performance Gauge
-8%
56.7 µs
61.5 µs
test_north_star_validate_json
Regression
tests/benchmarks/test_north_star.py::test_north_star_validate_json
CodSpeed Performance Gauge
-6%
53.4 ms
56.6 ms
test_north_star_validate_python_strict
Regression
tests/benchmarks/test_north_star.py::test_north_star_validate_python_strict
CodSpeed Performance Gauge
-10%
27.2 ms
30.2 ms
test_north_star_validate_python
Regression
tests/benchmarks/test_north_star.py::test_north_star_validate_python
CodSpeed Performance Gauge
-6%
45.1 ms
48.2 ms
test_north_star_dump_python
Regression
tests/benchmarks/test_north_star.py::test_north_star_dump_python
CodSpeed Performance Gauge
-7%
15.9 ms
17 ms
test_list_of_models_validation[model_validate]
Regression
tests/benchmarks/test_model_validation.py::test_list_of_models_validation[model_validate]
CodSpeed Performance Gauge
-8%
92.1 µs
99.8 µs
Passed
test_import_field
tests/benchmarks/test_imports.py::test_import_field
CodSpeed Performance Gauge
0%
25.5 µs
25.4 µs
test_import_basemodel
tests/benchmarks/test_imports.py::test_import_basemodel
CodSpeed Performance Gauge
0%
25.7 µs
25.6 µs
test_isinstance_basemodel
tests/benchmarks/test_isinstance.py::test_isinstance_basemodel
CodSpeed Performance Gauge
0%
26.6 ms
26.7 ms
test_tagged_union_with_callable_discriminator_schema_generation
tests/benchmarks/test_model_schema_generation.py::test_tagged_union_with_callable_discriminator_schema_generation
CodSpeed Performance Gauge
0%
1.9 ms
2 ms
test_lots_of_models_with_lots_of_fields
tests/benchmarks/test_model_schema_generation.py::test_lots_of_models_with_lots_of_fields
CodSpeed Performance Gauge
-1%
3.3 s
3.3 s
test_simple_model_schema_lots_of_fields_generation
tests/benchmarks/test_model_schema_generation.py::test_simple_model_schema_lots_of_fields_generation
CodSpeed Performance Gauge
-1%
38.3 ms
38.7 ms
test_complex_model_schema_generation
tests/benchmarks/test_model_schema_generation.py::test_complex_model_schema_generation
CodSpeed Performance Gauge
-1%
2.6 ms
2.6 ms
test_schema_build
tests/benchmarks/test_discriminated_unions.py::test_schema_build
CodSpeed Performance Gauge
-1%
3.3 ms
3.3 ms
test_construct_dataclass_schema
tests/benchmarks/test_model_schema_generation.py::test_construct_dataclass_schema
CodSpeed Performance Gauge
-2%
2.2 ms
2.2 ms
test_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation.py::test_recursive_model_schema_generation
CodSpeed Performance Gauge
-2%
1.2 ms
1.3 ms
test_setattr
tests/benchmarks/test_attribute_access.py::test_setattr
CodSpeed Performance Gauge
-2%
85.4 µs
87 µs
test_model_validators_serializers
tests/benchmarks/test_model_schema_generation.py::test_model_validators_serializers
CodSpeed Performance Gauge
-2%
1 ms
1 ms
test_nested_recursive_generic_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py::test_nested_recursive_generic_model_schema_generation
CodSpeed Performance Gauge
-2%
2.1 ms
2.2 ms
test_tagged_union_with_str_discriminator_schema_generation
tests/benchmarks/test_model_schema_generation.py::test_tagged_union_with_str_discriminator_schema_generation
CodSpeed Performance Gauge
-2%
1.8 ms
1.8 ms
test_recursive_discriminated_union_with_base_model
tests/benchmarks/test_model_schema_generation_recursive.py::test_recursive_discriminated_union_with_base_model
CodSpeed Performance Gauge
-2%
1.9 ms
2 ms
test_nested_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py::test_nested_recursive_model_schema_generation
CodSpeed Performance Gauge
-2%
2.1 ms
2.2 ms
test_generic_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py::test_generic_recursive_model_schema_generation
CodSpeed Performance Gauge
-2%
1.1 ms
1.1 ms
test_simple_model_schema_generation
tests/benchmarks/test_model_schema_generation.py::test_simple_model_schema_generation
CodSpeed Performance Gauge
-2%
888.7 µs
908 µs
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_generics.py::test_fastapi_startup_perf
CodSpeed Performance Gauge
-2%
249.1 ms
254.6 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_simple.py::test_fastapi_startup_perf
CodSpeed Performance Gauge
-2%
30.4 ms
31.1 ms
test_getattr
tests/benchmarks/test_attribute_access.py::test_getattr
CodSpeed Performance Gauge
-2%
54 µs
55.2 µs
test_simple_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py::test_simple_recursive_model_schema_generation
CodSpeed Performance Gauge
-2%
858.6 µs
880.3 µs
test_deeply_nested_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py::test_deeply_nested_recursive_model_schema_generation
CodSpeed Performance Gauge
-3%
1.5 ms
1.5 ms
test_nested_model_schema_generation
tests/benchmarks/test_model_schema_generation.py::test_nested_model_schema_generation
CodSpeed Performance Gauge
-3%
1.3 ms
1.3 ms
test_north_star_json_dumps
tests/benchmarks/test_north_star.py::test_north_star_json_dumps
CodSpeed Performance Gauge
-3%
23.4 ms
24.1 ms
test_complex_model_serialization
tests/benchmarks/test_model_serialization.py::test_complex_model_serialization
CodSpeed Performance Gauge
-3%
59.5 µs
61.4 µs
test_north_star_json_loads
tests/benchmarks/test_north_star.py::test_north_star_json_loads
CodSpeed Performance Gauge
-3%
21.2 ms
21.9 ms
test_north_star_dump_json
tests/benchmarks/test_north_star.py::test_north_star_dump_json
CodSpeed Performance Gauge
-4%
29.3 ms
30.4 ms
Ignored
test_nested_model_serialization
tests/benchmarks/test_model_serialization.py::test_nested_model_serialization
Ignored
CodSpeed Performance Gauge
-5%
42 µs
44.2 µs
test_field_validators_serializers
tests/benchmarks/test_model_schema_generation.py::test_field_validators_serializers
Ignored
CodSpeed Performance Gauge
0%
2.5 ms
2.5 ms
Commits
Click on a commit to change the comparison range
Base
main
ed29a35
-9.86%
Revert "ci: use locally built pydantic-core with debug symbols in benchmarks (#10886)" This reverts commit 8c4b95abcdf3cef3e8165edb52a93f544a2ea1c5.
9980020
10 months ago
by sydney-runkle
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs