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

Add model_rebuild for models with typing imports when using deferred annotations

#2725Closed
Comparing
fix-model-rebuild-for-typing-imports
(
12d4080
) with
main
(
8a10962
)
CodSpeed Performance Gauge
0%
Untouched
70
Skipped
10

Benchmarks

80 total
test_main_jsonschema_no_empty_collapsed_external_model
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
34.2 ms34.1 ms
test_main_jsonschema_multiple_files
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
77.1 ms77 ms
test_main_jsonschema_external_files
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
36.3 ms36.3 ms
test_main_autodetect
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
52.7 ms52.7 ms
test_main_external_definitions
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
39.7 ms39.7 ms
test_main_keep_model_order_field_references
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
38 ms38 ms
test_main_yaml
tests/main/test_main_yaml.py
CodSpeed Performance Gauge
0%
35.3 ms35.3 ms
test_main_jsonschema_field_include_all_keys
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
52.2 ms52.2 ms
test_main_jsonschema_collapsed_external_references
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
69.5 ms69.5 ms
test_main
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
119.5 ms119.5 ms
test_main_with_strip_default_none
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
117.1 ms117.1 ms
test_main_jsonschema_required_and_any_of_required
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
48.4 ms48.4 ms
test_main_use_default_factory_for_optional_nested_models_with_dict[msgspec.Struct-default_factory_nested_model_with_dict_msgspec.py]
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
61.1 ms61.1 ms
test_main_jsonschema_special_field_name
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
53.8 ms53.8 ms
test_main_openapi_all_of_required
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
41.6 ms41.6 ms
test_main_root_id_jsonschema_self_refs_with_local_file
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
76.1 ms76.1 ms
test_main_jsonschema_id
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
43 ms43 ms
test_main_jsonschema_nested_deep
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
67.2 ms67.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%
29.7 ms29.7 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%
57.2 ms57.2 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%
58.2 ms58.2 ms
test_main_all_of_ref
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
39.4 ms39.4 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%
30.4 ms30.4 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%
54.3 ms54.3 ms
test_main_type_alias_cycle_keep_model_order
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
39 ms39 ms

Commits

Click on a commit to change the comparison range
Base
main
8a10962
-0.38%
Merge remote-tracking branch 'origin/main' into fix-model-rebuild-for-typing-imports
12d4080
5 months ago
by koxudaxi
© 2026 CodSpeed Technology
Home Terms Privacy Docs