koxudaxi
datamodel-code-generator
BlogDocsChangelog

Fix --reuse-model --collapse-reuse-models to deduplicate identical inline definitions

#2903Merged
Comparing
fix/reuse-model-inline-definitions
(
3c9fd85
) with
main
(
a310b6f
)
CodSpeed Performance Gauge
0%
Untouched
11
Skipped
98

Benchmarks

Skipped (98)

Passed

test_perf_complex_refs
tests/main/test_performance.py
CodSpeed Performance Gauge
+7%
2.1 s2 s
test_perf_all_options_enabled
tests/main/test_performance.py
CodSpeed Performance Gauge
+1%
6.6 s6.5 s
test_perf_openapi_large
tests/main/test_performance.py
CodSpeed Performance Gauge
+1%
2.8 s2.8 s
test_perf_stripe_style_pydantic_v2
tests/main/test_performance.py
CodSpeed Performance Gauge
0%
1.9 s1.9 s
test_perf_multiple_files_input
tests/main/test_performance.py
CodSpeed Performance Gauge
0%
3.7 s3.7 s
test_perf_deep_nested
tests/main/test_performance.py
CodSpeed Performance Gauge
0%
5.9 s5.9 s
test_perf_kubernetes_style_pydantic_v2
tests/main/test_performance.py
CodSpeed Performance Gauge
0%
2.6 s2.6 s
test_perf_graphql_style_pydantic_v2
tests/main/test_performance.py
CodSpeed Performance Gauge
0%
804.4 ms805.3 ms
test_perf_duplicate_names
tests/main/test_performance.py
CodSpeed Performance Gauge
0%
985.1 ms987.8 ms
test_perf_aws_style_openapi_pydantic_v2
tests/main/test_performance.py
CodSpeed Performance Gauge
0%
1.9 s1.9 s
test_perf_large_models_pydantic_v2
tests/main/test_performance.py
CodSpeed Performance Gauge
-3%
3.6 s3.7 s

Commits

Click on a commit to change the comparison range
Base
main
a310b6f
+0.45%
Fix --reuse-model --collapse-reuse-models to deduplicate identical inline definitions
3c9fd85
5 hours ago
by koxudaxi
© 2026 CodSpeed Technology
Home Terms Privacy Docs