koxudaxi
datamodel-code-generator
BlogDocsChangelog

Fix use_union_operator with Python builtin type field names

#2968
Comparing
fix/builtin-type-field-names
(
1636986
) with
main
(
4661406
)
CodSpeed Performance Gauge
+1%
Untouched
11
Skipped
98

Benchmarks

Skipped (98)

Passed

test_perf_openapi_large
tests/main/test_performance.py
CodSpeed Performance Gauge
+2%
3 s2.9 s
test_perf_all_options_enabled
tests/main/test_performance.py
CodSpeed Performance Gauge
+2%
6.8 s6.7 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
+2%
3.8 s3.7 s
test_perf_stripe_style_pydantic_v2
tests/main/test_performance.py
CodSpeed Performance Gauge
+1%
2 s2 s
test_perf_deep_nested
tests/main/test_performance.py
CodSpeed Performance Gauge
+1%
6.2 s6.1 s
test_perf_large_models_pydantic_v2
tests/main/test_performance.py
CodSpeed Performance Gauge
+1%
3.7 s3.7 s
test_perf_complex_refs
tests/main/test_performance.py
CodSpeed Performance Gauge
0%
2.1 s2.1 s
test_perf_kubernetes_style_pydantic_v2
tests/main/test_performance.py
CodSpeed Performance Gauge
0%
2.6 s2.6 s
test_perf_aws_style_openapi_pydantic_v2
tests/main/test_performance.py
CodSpeed Performance Gauge
0%
2 s2 s
test_perf_graphql_style_pydantic_v2
tests/main/test_performance.py
CodSpeed Performance Gauge
0%
825.9 ms827.8 ms

Commits

Click on a commit to change the comparison range
Base
main
4661406
+0.88%
Fix use_union_operator with Python builtin type field names
d252269
12 hours ago
by koxudaxi
-1.77%
Simplify container type check with direct attribute access
a3988fc
7 hours ago
by koxudaxi
+1.77%
Add parameterized test for --no-use-union-operator
1636986
7 hours ago
by koxudaxi
© 2026 CodSpeed Technology
Home Terms Privacy Docs