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

Add --field-type-collision-strategy option

#2733Merged
Comparing
feature/field-type-collision-strategy
(
943fb8f
) with
main
(
355f2b2
)
CodSpeed Performance Gauge
0%
Untouched
70
Skipped
10

Benchmarks

80 total
test_main_allof_root_model_constraints_merge_pydantic_v2
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
322.1 ms321 ms
test_main_inheritance_forward_ref_keep_model_order
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
108.8 ms108.5 ms
test_main_allof_root_model_constraints_none
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
282.7 ms282 ms
test_main_lookaround_dict_standard_collections
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
53.4 ms53.2 ms
test_main_jsonschema_reserved_field_name[pydantic_v2.BaseModel-reserved_field_name_schema_pydantic.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
45.7 ms45.6 ms
test_main_use_frozen_field[pydantic.BaseModel-use_frozen_field_v1.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
46.7 ms46.6 ms
test_main_inheritance_forward_ref
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
108.7 ms108.5 ms
test_main_bundled_schema_with_id_url
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
72.6 ms72.5 ms
test_main_use_frozen_field[pydantic_v2.BaseModel-use_frozen_field_v2.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
52.5 ms52.4 ms
test_main_collapse_root_models
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
72.8 ms72.7 ms
test_main_bundled_schema_with_id_local_file
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
67.7 ms67.6 ms
test_main_openapi_nullable_31
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
44.7 ms44.7 ms
test_main_use_frozen_field[dataclasses.dataclass-use_frozen_field_dataclass.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
33.9 ms33.9 ms
test_main_jsonschema_no_empty_collapsed_external_model
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
33.4 ms33.3 ms
test_main_type_alias_cycle_keep_model_order
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
38.2 ms38.2 ms
test_main_type_alias_forward_ref_keep_model_order
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
49.8 ms49.8 ms
test_main_keep_model_order_field_references
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
37.2 ms37.1 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.8 ms28.8 ms
test_main_external_definitions
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
38.8 ms38.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.5 ms29.5 ms
test_main_use_default_factory_for_optional_nested_models[msgspec.Struct-default_factory_nested_model_msgspec.py]
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[dataclasses.dataclass-default_factory_nested_model_dataclass.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
53.4 ms53.4 ms
test_main_use_frozen_field_no_readonly
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
63.3 ms63.2 ms
test_main_pydantic_v2_model_rebuild_inheritance
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
56 ms56 ms
test_main_jsonschema_collapsed_external_references
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
68.7 ms68.7 ms

Commits

Click on a commit to change the comparison range
Base
main
355f2b2
-0.45%
docs: update CLI reference documentation
14a4bef
4 months ago
by github-actions[bot]
+0.45%
Remove untestable isinstance branch by using cast
a223a37
4 months ago
by koxudaxi
0%
docs: update CLI reference documentation
d67b0a0
4 months ago
by github-actions[bot]
+0.02%
Merge remote-tracking branch 'origin/feature/field-type-collision-strategy' into feature/field-type-collision-strategy
acff1c7
4 months ago
by koxudaxi
+0.05%
Remove inline comment
63cfb52
4 months ago
by koxudaxi
-0.05%
docs: update CLI reference documentation
943fb8f
4 months ago
by github-actions[bot]
© 2026 CodSpeed Technology
Home Terms Privacy Docs