Avatar for the koxudaxi user
koxudaxi
datamodel-code-generator
BlogDocsChangelog

Optimize performance for large schema processing

#2774Merged
Comparing
perf/optimize-large-schema-processing
(
a688ee9
) with
main
(
1966581
)
CodSpeed Performance Gauge
0%
Untouched
73
Skipped
10

Benchmarks

10 total
test_main_nested_directory
tests/main/jsonschema/test_main_jsonschema.py
Skipped
247.9 ms*
test_main_strict_types_all_with_field_constraints
tests/main/jsonschema/test_main_jsonschema.py
Skipped
81 ms*
test_main_jsonschema_complex_any_of
tests/main/jsonschema/test_main_jsonschema.py
Skipped
68 ms*
test_main_allof_root_model_constraints
tests/main/jsonschema/test_main_jsonschema.py
Skipped
287.1 ms*
test_main_use_frozen_field_dataclass
tests/main/jsonschema/test_main_jsonschema.py
Skipped
35.8 ms*
test_main_use_frozen_field_pydantic_v1
tests/main/jsonschema/test_main_jsonschema.py
Skipped
48.5 ms*
test_main_use_frozen_field_pydantic_v2
tests/main/jsonschema/test_main_jsonschema.py
Skipped
54 ms*
test_main_jsonschema_reserved_field_name_typed_dict
tests/main/jsonschema/test_main_jsonschema.py
Skipped
29 ms*
test_main_jsonschema_reserved_field_name_dataclass
tests/main/jsonschema/test_main_jsonschema.py
Skipped
29.8 ms*
test_main_jsonschema_reserved_field_name_pydantic
tests/main/jsonschema/test_main_jsonschema.py
Skipped
45.6 ms*

Commits

Click on a commit to change the comparison range
Base
main
1966581
-1.08%
Optimize performance for large schema processing
3fbeaf9
4 months ago
by koxudaxi
+1.04%
Remove unresolved_types cache for Pydantic v1 compatibility
b4fa082
4 months ago
by koxudaxi
0%
Add pragma: no cover for rare edge case optimization in DataType
fd3d93e
4 months ago
by koxudaxi
+0.08%
Add pragma: no cover for cache hit path in reference
a688ee9
4 months ago
by koxudaxi
© 2026 CodSpeed Technology
Home Terms Privacy Docs