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

Add --use-tuple-for-fixed-items option

#2756Merged
Comparing
feature/use-tuple-for-fixed-items
(
ad99fa4
) with
main
(
accc1f4
)
CodSpeed Performance Gauge
0%
Untouched
73
Skipped
10

Benchmarks

83 total
test_main_jsonschema_root_model_default_value
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
80 ms79.8 ms
test_main_modular
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
309.9 ms309.3 ms
test_main_jsonschema_root_model_default_value_no_annotated
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
76.2 ms76.1 ms
test_use_default
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
118 ms117.8 ms
test_main_lookaround_dict_pydantic_v2
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
52.7 ms52.6 ms
test_main_lookaround_dict_generic_container
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
54.8 ms54.7 ms
test_main_lookaround_dict_standard_collections
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
52.7 ms52.6 ms
test_main_nested_lookaround_array_pydantic_v2
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
57.2 ms57.2 ms
test_main_jsonschema_multiple_files
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
75.4 ms75.4 ms
test_main_jsonschema_root_model_default_value_branches
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
70.6 ms70.6 ms
test_main_lookaround_mixed_constraints_pydantic_v2
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
57.4 ms57.3 ms
test_main_use_default_factory_for_optional_nested_models_with_dict[pydantic_v2.BaseModel-default_factory_nested_model_with_dict_pydantic_v2.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
66.8 ms66.7 ms
test_main_root_model_config_populate_by_name
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
61.7 ms61.6 ms
test_main_builtin_field_names
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
47.2 ms47.2 ms
test_main_json_reuse_enum_default_member
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
67.1 ms67 ms
test_main_jsonschema_field_include_all_keys
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
50.9 ms50.9 ms
test_main_allof_root_model_constraints_merge_pydantic_v2
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
310.6 ms310.4 ms
test_main_nested_lookaround_array_generic_container
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
59.3 ms59.3 ms
test_main_use_default_factory_for_optional_nested_models_with_dict[dataclasses.dataclass-default_factory_nested_model_with_dict_dataclass.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
55.3 ms55.3 ms
test_main_inheritance_forward_ref_keep_model_order
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
105.9 ms105.8 ms
test_main_jsonschema_reserved_field_name[dataclasses.dataclass-reserved_field_name_schema_dataclass.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
29.2 ms29.2 ms
test_main_jsonschema_reserved_field_name[typing.TypedDict-reserved_field_name_schema_typed_dict.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
28.5 ms28.5 ms
test_main_bundled_schema_with_id_local_file
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
66.8 ms66.8 ms
test_main_jsonschema_collapsed_external_references
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
68 ms68 ms
test_main_use_default_factory_for_optional_nested_models[pydantic_v2.BaseModel-default_factory_nested_model_pydantic_v2.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
63.8 ms63.8 ms

Commits

Click on a commit to change the comparison range
Base
main
accc1f4
+0.02%
Add --use-tuple-for-fixed-items option
ad99fa4
4 months ago
by koxudaxi
© 2026 CodSpeed Technology
Home Terms Privacy Docs