Avatar for the pydantic user
pydantic
pydantic
BlogDocsChangelog

Fix `frozen` enforcement for dataclasses

#10066Merged
Comparing
frozen-app-dc
(
18049e8
) with
main
(
ac0cf36
)
CodSpeed Performance Gauge
0%
Untouched
17

Benchmarks

17 total
test_isinstance_basemodel
tests/benchmarks/test_isinstance.py
CodSpeed Performance Gauge
+1%
27.2 ms27 ms
test_import_basemodel
tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
85 µs84.8 µs
test_north_star_validate_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
52.8 ms52.8 ms
test_north_star_json_loads
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
22.1 ms22.1 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_simple.py
CodSpeed Performance Gauge
0%
32.5 ms32.5 ms
test_north_star_dump_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
17.2 ms17.2 ms
test_north_star_validate_json_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
52.6 ms52.6 ms
test_north_star_validate_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
44.2 ms44.2 ms
test_import_field
tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
84.6 µs84.7 µs
test_lots_of_models_with_lots_of_fields
tests/benchmarks/test_schema_build.py
CodSpeed Performance Gauge
0%
4.5 s4.5 s
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_generics.py
CodSpeed Performance Gauge
0%
277.7 ms278 ms
test_construct_schema
tests/benchmarks/test_schema_build.py
CodSpeed Performance Gauge
0%
4.8 ms4.9 ms
test_schema_build
tests/benchmarks/test_discriminated_unions.py
CodSpeed Performance Gauge
0%
3.8 ms3.8 ms
test_north_star_validate_python_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
29.5 ms29.6 ms
test_efficiency_with_highly_nested_examples
tests/benchmarks/test_discriminated_unions.py
CodSpeed Performance Gauge
0%
973.5 µs976.3 µs
test_north_star_json_dumps
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
22.7 ms22.8 ms
test_north_star_dump_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
-1%
30.9 ms31.1 ms

Commits

Click on a commit to change the comparison range
Base
main
ac0cf36
-0.3%
better frozen logic for dcs
25b5f1c
2 years ago
by sydney-runkle
+0.24%
adding tests
18049e8
2 years ago
by sydney-runkle
© 2026 CodSpeed Technology
Home Terms Privacy Docs