koxudaxi
datamodel-code-generator
BlogDocsChangelog

Fix reuse-model generating type aliases instead of class inheritance

#2853
Comparing
fix/reuse-model-type-alias-2639
(
43d27c5
) with
main
(
0f7a6c9
)
CodSpeed Performance Gauge
+1%
Untouched
11
Skipped
98

Benchmarks

Skipped (98)

Passed

test_perf_complex_refs
tests/main/test_performance.py
CodSpeed Performance Gauge
+3%
2.2 s2.1 s
test_perf_large_models_pydantic_v2
tests/main/test_performance.py
CodSpeed Performance Gauge
+2%
3.8 s3.7 s
test_perf_openapi_large
tests/main/test_performance.py
CodSpeed Performance Gauge
+2%
3 s2.9 s
test_perf_duplicate_names
tests/main/test_performance.py
CodSpeed Performance Gauge
+2%
1 s1 s
test_perf_multiple_files_input
tests/main/test_performance.py
CodSpeed Performance Gauge
+1%
3.8 s3.7 s
test_perf_deep_nested
tests/main/test_performance.py
CodSpeed Performance Gauge
+1%
6.2 s6.2 s
test_perf_all_options_enabled
tests/main/test_performance.py
CodSpeed Performance Gauge
0%
6.7 s6.6 s
test_perf_kubernetes_style_pydantic_v2
tests/main/test_performance.py
CodSpeed Performance Gauge
0%
2.7 s2.7 s
test_perf_aws_style_openapi_pydantic_v2
tests/main/test_performance.py
CodSpeed Performance Gauge
-1%
2 s2 s
test_perf_stripe_style_pydantic_v2
tests/main/test_performance.py
CodSpeed Performance Gauge
-1%
2.1 s2.1 s
test_perf_graphql_style_pydantic_v2
tests/main/test_performance.py
CodSpeed Performance Gauge
-1%
837.2 ms848.6 ms

Commits

Click on a commit to change the comparison range
Base
main
0f7a6c9
+0.69%
Fix reuse-model generating type aliases instead of class inheritance
43d27c5
2 hours ago
by koxudaxi
© 2025 CodSpeed Technology
Home Terms Privacy Docs