koxudaxi
datamodel-code-generator
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Fix --use-annotated for pydantic v2
#2033
Merged
Comparing
bpsoos:fix-annotated
(
99b680d
) with
main
(
010c72b
)
CodSpeed Performance Gauge
+50%
Improvements
24
Untouched
7
Benchmarks
Improved
test_main_modular
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
+50%
359.9 ms
240.4 ms
test_main_use_generic_container_types_standard_collections
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
+50%
364.6 ms
243.7 ms
test_main_openapi_nullable
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
+46%
175.1 ms
120 ms
test_main_nested_directory
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
+41%
279.9 ms
198.4 ms
test_force_optional
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
+38%
161.3 ms
116.6 ms
test_main_with_snake_case_field
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
+37%
153.3 ms
111.6 ms
test_use_default
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
+36%
150.6 ms
110.4 ms
test_main
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
+36%
147.5 ms
108.2 ms
test_main_with_strip_default_none
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
+36%
145.1 ms
106.9 ms
test_main_inheritance_forward_ref_keep_model_order
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
+34%
139.7 ms
104.1 ms
test_main_json_reuse_enum_default_member
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
+31%
99.1 ms
75.5 ms
test_main_inheritance_forward_ref
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
+31%
138.2 ms
105.6 ms
test_main_collapse_root_models
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
+25%
98.4 ms
78.5 ms
test_main_strict_types
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
+24%
93.3 ms
75.1 ms
test_main_strict_types_all_with_field_constraints
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
+24%
88.4 ms
71.4 ms
test_main_root_id_jsonschema_self_refs_with_remote_file
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
+21%
100.1 ms
82.6 ms
test_main_root_id_jsonschema_self_refs_with_local_file
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
+21%
100 ms
82.7 ms
test_main_jsonschema_nested_deep
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
+17%
85.8 ms
73.5 ms
test_main_jsonschema_collapsed_external_references
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
+16%
95.6 ms
82.4 ms
test_main_jsonschema_field_include_all_keys
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
+16%
71.2 ms
61.5 ms
test_main_jsonschema_complex_any_of
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
+15%
72.6 ms
63.3 ms
test_main_jsonschema_special_field_name
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
+14%
74 ms
64.9 ms
test_main_jsonschema_multiple_files
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
+14%
94.9 ms
83.6 ms
test_main_autodetect
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
+13%
72.6 ms
64.2 ms
Passed
test_main_openapi_all_of_required
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
+6%
58.2 ms
54.9 ms
test_main_jsonschema_id
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
+5%
59.7 ms
56.7 ms
test_main_all_of_ref
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
+5%
52.2 ms
49.9 ms
test_main_yaml
tests/main/test_main_yaml.py
CodSpeed Performance Gauge
+3%
52.3 ms
50.9 ms
test_main_external_definitions
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
+2%
56 ms
55 ms
test_main_jsonschema_no_empty_collapsed_external_model
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
52.7 ms
52.7 ms
test_main_jsonschema_external_files
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-2%
53.1 ms
54.1 ms
Commits
Click on a commit to change the comparison range
Base
main
010c72b
-0.01%
runs format
94bf9ed
1 year ago
by bpsoos
0%
fixes coverage
f4aa7fc
1 year ago
by bpsoos
-0.01%
[pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
409bd9a
1 year ago
by pre-commit-ci[bot]
+0.12%
Merge branch 'main' into fix-annotated
2c3b943
1 year ago
by bpsoos
-0.06%
Update graphql.py
18d8794
1 year ago
by bpsoos
+0.1%
fixes tests
358dc33
1 year ago
by bpsoos
-0.12%
modifies template to preserve behaviour
aef51a5
1 year ago
by bpsoos
+49.71%
bump pytest temporary to unlock cache
99b680d
1 year ago
by bpsoos
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs