pydantic
pydantic
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Add proper `stacklevel` for class-based config deprecation warning
#12082
Merged
Comparing
hannah-heywa:patch-1
(
3d9d40a
) with
main
(
ffc0840
)
CodSpeed Performance Gauge
0%
Untouched
46
Ignored
2
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
Ignored
48 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_north_star_json_loads
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
+5%
19.6 ms
18.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_isinstance_basemodel
tests/benchmarks/test_isinstance.py
CodSpeed Performance Gauge
+1%
26.2 ms
26 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_north_star_validate_python_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
+1%
24 ms
23.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_model_validation[model_validate]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
40.1 µs
39.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_model_validators_serializers
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
760.4 µs
757.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complex_model_validation[model_validate]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
52 µs
51.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_failed_rebuild
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
216.8 µs
216 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_model_validation[__init__]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
37.7 µs
37.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_north_star_dump_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
30 ms
29.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_generics.py
CodSpeed Performance Gauge
0%
84 ms
83.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_list_of_models_serialization
tests/benchmarks/test_model_serialization.py
CodSpeed Performance Gauge
0%
57.9 µs
57.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_nested_model_validation[model_validate]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
51.2 µs
51.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_import_basemodel
tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
26.1 µs
26.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_import_field
tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
26 µs
26 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_model_json_serialization
tests/benchmarks/test_model_serialization.py
CodSpeed Performance Gauge
0%
50 µs
50 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_nested_model_schema_generation
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
824.9 µs
824.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_deeply_nested_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py
CodSpeed Performance Gauge
0%
1.3 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_north_star_validate_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
39.2 ms
39.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_north_star_validate_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
39.4 ms
39.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_north_star_dump_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
18 ms
18 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py
CodSpeed Performance Gauge
0%
618.7 µs
619.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_north_star_json_dumps
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
23.6 ms
23.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_simple.py
CodSpeed Performance Gauge
0%
19.8 ms
19.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complex_model_serialization
tests/benchmarks/test_model_serialization.py
CodSpeed Performance Gauge
0%
44.7 µs
44.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_construct_dataclass_schema
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
1
2
Commits
Click on a commit to change the comparison range
Base
main
ffc0840
+0.01%
Increase stacklevel for ConfigDict deprecation warning
3d9d40a
7 months ago
by hannah-heywa
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs