Avatar for the pydantic user
pydantic
pydantic-core
BlogDocsChangelog

Add `allow_partial`

#1512Merged
Comparing
allow_partial
(
b1226d5
) with
main
(
5e95c05
)
CodSpeed Performance Gauge
-17%
Regressions
2
(
2
)
Untouched
153

Benchmarks

Passed

test_dict_of_any_core
tests/benchmarks/test_micro_benchmarks.py::test_dict_of_any_core
CodSpeed Performance Gauge
+6%
756.5 µs712.6 µs
test_dict_of_ints_core
tests/benchmarks/test_micro_benchmarks.py::test_dict_of_ints_core
CodSpeed Performance Gauge
+4%
1.1 ms1 ms
test_to_string_format
tests/benchmarks/test_serialization_micro.py::test_to_string_format
CodSpeed Performance Gauge
+4%
23.4 µs22.5 µs
test_core_model_json_extra
tests/benchmarks/test_serialization_micro.py::test_core_model_json_extra
CodSpeed Performance Gauge
+4%
30 µs29 µs
test_dataclass_to_json
tests/benchmarks/test_serialization_micro.py::test_dataclass_to_json
CodSpeed Performance Gauge
+2%
38.4 µs37.6 µs
test_core_dict_filter
tests/benchmarks/test_serialization_micro.py::TestBenchmarkSimpleModel::test_core_dict_filter
CodSpeed Performance Gauge
+2%
79.3 µs78.1 µs
test_int_error
tests/benchmarks/test_micro_benchmarks.py::test_int_error
CodSpeed Performance Gauge
+1%
39.9 µs39.3 µs
test_complete_core_json
tests/benchmarks/test_complete_benchmark.py::test_complete_core_json
CodSpeed Performance Gauge
+1%
491.7 µs485 µs
test_isinstance_string_strict_true
tests/benchmarks/test_micro_benchmarks.py::test_isinstance_string_strict_true
CodSpeed Performance Gauge
+1%
13.4 µs13.2 µs
test_to_json_list_of_lists
tests/benchmarks/test_serialization_micro.py::test_to_json_list_of_lists
CodSpeed Performance Gauge
+1%
1.7 ms1.7 ms
test_model_core_json
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime::test_model_core_json
CodSpeed Performance Gauge
+1%
35.5 µs35.2 µs
test_definition_model_core
tests/benchmarks/test_micro_benchmarks.py::test_definition_model_core
CodSpeed Performance Gauge
+1%
1.2 ms1.2 ms
test_model_exclude_unset_false
tests/benchmarks/test_serialization_micro.py::test_model_exclude_unset_false
CodSpeed Performance Gauge
+1%
29.2 µs29 µs
test_core_python
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID::test_core_python
CodSpeed Performance Gauge
+1%
30.2 µs30 µs
test_isinstance_string_lax_true
tests/benchmarks/test_micro_benchmarks.py::test_isinstance_string_lax_true
CodSpeed Performance Gauge
+1%
13.4 µs13.3 µs
test_model_exclude_unset_true
tests/benchmarks/test_serialization_micro.py::test_model_exclude_unset_true
CodSpeed Performance Gauge
+1%
35.3 µs35.1 µs
test_uuid
tests/benchmarks/test_serialization_micro.py::test_uuid
CodSpeed Performance Gauge
+1%
23 µs22.8 µs
test_chain_nested_functions
tests/benchmarks/test_micro_benchmarks.py::test_chain_nested_functions
CodSpeed Performance Gauge
0%
28.2 µs28 µs
test_core_json
tests/benchmarks/test_serialization_micro.py::TestBenchmarkSimpleModel::test_core_json
CodSpeed Performance Gauge
0%
80.4 µs80 µs
test_json_any_list_str
tests/benchmarks/test_serialization_micro.py::test_json_any_list_str
CodSpeed Performance Gauge
0%
229.3 µs228.4 µs
test_core_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime::test_core_str
CodSpeed Performance Gauge
0%
19.2 µs19.2 µs
test_chain_two_functions
tests/benchmarks/test_micro_benchmarks.py::test_chain_two_functions
CodSpeed Performance Gauge
0%
29 µs28.9 µs
test_small_class_core_model
tests/benchmarks/test_micro_benchmarks.py::test_small_class_core_model
CodSpeed Performance Gauge
0%
28.9 µs28.8 µs
test_core_raw
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID::test_core_raw
CodSpeed Performance Gauge
0%
13.5 µs13.4 µs
test_model_core_json
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID::test_model_core_json
CodSpeed Performance Gauge
0%
47 µs46.8 µs
test_raise_error_custom
tests/benchmarks/test_micro_benchmarks.py::test_raise_error_custom
CodSpeed Performance Gauge
0%
36.3 µs36.2 µs
test_json_direct_list_str
tests/benchmarks/test_serialization_micro.py::test_json_direct_list_str
CodSpeed Performance Gauge
0%
163.4 µs163 µs
test_core_python
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime::test_core_python
CodSpeed Performance Gauge
0%
29.7 µs29.7 µs
test_chain_list
tests/benchmarks/test_micro_benchmarks.py::test_chain_list
CodSpeed Performance Gauge
0%
24.7 µs24.6 µs
test_isinstance_string_lax_false
tests/benchmarks/test_micro_benchmarks.py::test_isinstance_string_lax_false
CodSpeed Performance Gauge
0%
15.1 µs15 µs
test_to_string_direct
tests/benchmarks/test_serialization_micro.py::test_to_string_direct
CodSpeed Performance Gauge
0%
18.4 µs18.3 µs
test_list_of_ints_core_json
tests/benchmarks/test_micro_benchmarks.py::test_list_of_ints_core_json
CodSpeed Performance Gauge
0%
737.6 µs736.4 µs
test_uuid_from_uuid_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID::test_uuid_from_uuid_core
CodSpeed Performance Gauge
0%
13.4 µs13.4 µs
test_decimal_from_string_limit
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDecimal::test_decimal_from_string_limit
CodSpeed Performance Gauge
0%
18.6 µs18.6 µs
test_core_model_json
tests/benchmarks/test_serialization_micro.py::test_core_model_json
CodSpeed Performance Gauge
0%
25.4 µs25.3 µs
test_model_list_core_json
tests/benchmarks/test_serialization_micro.py::test_model_list_core_json
CodSpeed Performance Gauge
0%
153.9 µs153.7 µs
test_core_raw
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime::test_core_raw
CodSpeed Performance Gauge
0%
13.6 µs13.6 µs
test_core_future_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime::test_core_future_str
CodSpeed Performance Gauge
0%
19.6 µs19.5 µs
test_dataclass_serialization_python
tests/benchmarks/test_serialization_micro.py::test_dataclass_serialization_python
CodSpeed Performance Gauge
0%
22.8 µs22.8 µs
test_json_any_list_int
tests/benchmarks/test_serialization_micro.py::test_json_any_list_int
CodSpeed Performance Gauge
0%
195.9 µs195.7 µs
test_json_direct_list_int
tests/benchmarks/test_serialization_micro.py::test_json_direct_list_int
CodSpeed Performance Gauge
0%
134.9 µs134.8 µs
test_field_function_validator
tests/benchmarks/test_micro_benchmarks.py::test_field_function_validator
CodSpeed Performance Gauge
0%
367.2 µs367.2 µs
test_ser_list_of_lists
tests/benchmarks/test_serialization_micro.py::test_ser_list_of_lists
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
test_model_instance_abc
tests/benchmarks/test_micro_benchmarks.py::test_model_instance_abc
CodSpeed Performance Gauge
0%
30.6 µs30.6 µs
test_isinstance_string_strict_false
tests/benchmarks/test_micro_benchmarks.py::test_isinstance_string_strict_false
CodSpeed Performance Gauge
0%
14.7 µs14.7 µs
test_core_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID::test_core_str
CodSpeed Performance Gauge
0%
33.4 µs33.4 µs
test_date_from_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX::test_date_from_str
CodSpeed Performance Gauge
0%
16.3 µs16.3 µs
test_smart_union_coerce_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion::test_smart_union_coerce_core
CodSpeed Performance Gauge
0%
17 µs17 µs
test_dont_raise_error_no_info
tests/benchmarks/test_micro_benchmarks.py::test_dont_raise_error_no_info
CodSpeed Performance Gauge
0%
16.9 µs16.9 µs
test_validate_literal[python-many_ints]
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[python-many_ints]
CodSpeed Performance Gauge
0%
14.1 µs14.1 µs
test_python_json_list_int
tests/benchmarks/test_serialization_micro.py::test_python_json_list_int
CodSpeed Performance Gauge
0%
147.2 µs147.3 µs
test_nested_schema_using_defs
tests/benchmarks/test_nested_benchmark.py::test_nested_schema_using_defs
CodSpeed Performance Gauge
0%
19.8 ms19.8 ms
test_nested_schema_inlined
tests/benchmarks/test_nested_benchmark.py::test_nested_schema_inlined
CodSpeed Performance Gauge
0%
20.2 ms20.3 ms
test_build_schema
tests/benchmarks/test_complete_benchmark.py::test_build_schema
CodSpeed Performance Gauge
0%
836.1 µs837.4 µs
test_uuid_from_string_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID::test_uuid_from_string_core
CodSpeed Performance Gauge
0%
33.3 µs33.4 µs
test_arguments
tests/benchmarks/test_micro_benchmarks.py::test_arguments
CodSpeed Performance Gauge
0%
25.3 µs25.3 µs
test_strict_union_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion::test_strict_union_core
CodSpeed Performance Gauge
0%
16.1 µs16.1 µs
test_core_model_py_extra
tests/benchmarks/test_serialization_micro.py::test_core_model_py_extra
CodSpeed Performance Gauge
0%
30.7 µs30.7 µs
test_dataclass_serialization_json
tests/benchmarks/test_serialization_micro.py::test_dataclass_serialization_json
CodSpeed Performance Gauge
0%
24.6 µs24.7 µs
test_int_range
tests/benchmarks/test_micro_benchmarks.py::test_int_range
CodSpeed Performance Gauge
0%
14.3 µs14.3 µs
test_date_format_function
tests/benchmarks/test_serialization_micro.py::test_date_format_function
CodSpeed Performance Gauge
0%
51.8 µs51.9 µs
test_chain_function
tests/benchmarks/test_micro_benchmarks.py::test_chain_function
CodSpeed Performance Gauge
0%
25.3 µs25.4 µs
test_date_format
tests/benchmarks/test_serialization_micro.py::test_date_format
CodSpeed Performance Gauge
0%
51 µs51.1 µs
test_core_string_lax
tests/benchmarks/test_micro_benchmarks.py::test_core_string_lax
CodSpeed Performance Gauge
0%
13.1 µs13.1 µs
test_core_dict
tests/benchmarks/test_serialization_micro.py::TestBenchmarkSimpleModel::test_core_dict
CodSpeed Performance Gauge
0%
76 µs76.3 µs
test_date_format_function_no_info
tests/benchmarks/test_serialization_micro.py::test_date_format_function_no_info
CodSpeed Performance Gauge
0%
50.4 µs50.5 µs
test_core_string_lax_wrong
tests/benchmarks/test_micro_benchmarks.py::test_core_string_lax_wrong
CodSpeed Performance Gauge
0%
26.1 µs26.2 µs
test_list_of_any_core_py
tests/benchmarks/test_micro_benchmarks.py::test_list_of_any_core_py
CodSpeed Performance Gauge
0%
98.1 µs98.4 µs
test_isinstance_json
tests/benchmarks/test_micro_benchmarks.py::test_isinstance_json
CodSpeed Performance Gauge
0%
17.5 µs17.6 µs
test_bool_core
tests/benchmarks/test_micro_benchmarks.py::test_bool_core
CodSpeed Performance Gauge
0%
22.3 µs22.4 µs
test_complete_core_serializer_to_json
tests/benchmarks/test_complete_benchmark.py::test_complete_core_serializer_to_json
CodSpeed Performance Gauge
0%
291.4 µs292.5 µs
test_date_from_datetime_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX::test_date_from_datetime_str
CodSpeed Performance Gauge
0%
18.2 µs18.2 µs
test_core_string_strict_wrong
tests/benchmarks/test_micro_benchmarks.py::test_core_string_strict_wrong
CodSpeed Performance Gauge
0%
25.8 µs25.9 µs
test_core_future
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime::test_core_future
CodSpeed Performance Gauge
0%
25.3 µs25.4 µs
test_python_json_list_none
tests/benchmarks/test_serialization_micro.py::test_python_json_list_none
CodSpeed Performance Gauge
0%
120.3 µs120.8 µs
test_list_of_strs_json_cached
tests/benchmarks/test_micro_benchmarks.py::test_list_of_strs_json_cached
CodSpeed Performance Gauge
0%
308.3 µs309.6 µs
test_core_string_strict_wrong_str_e
tests/benchmarks/test_micro_benchmarks.py::test_core_string_strict_wrong_str_e
CodSpeed Performance Gauge
0%
39.9 µs40 µs
test_enum_int_core
tests/benchmarks/test_micro_benchmarks.py::test_enum_int_core
CodSpeed Performance Gauge
0%
14.9 µs15 µs
test_validate_literal[python-few_str_enum]
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[python-few_str_enum]
CodSpeed Performance Gauge
0%
14.8 µs14.9 µs
test_date_from_datetime
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX::test_date_from_datetime
CodSpeed Performance Gauge
0%
21.5 µs21.6 µs
test_datetime
tests/benchmarks/test_serialization_micro.py::test_datetime
CodSpeed Performance Gauge
0%
26.5 µs26.7 µs
test_validate_literal[python-few_large_strings]
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[python-few_large_strings]
CodSpeed Performance Gauge
0%
14.3 µs14.4 µs
test_python_json_list_str
tests/benchmarks/test_serialization_micro.py::test_python_json_list_str
CodSpeed Performance Gauge
0%
153.6 µs154.4 µs
test_decimal_from_string_pyd
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDecimal::test_decimal_from_string_pyd
CodSpeed Performance Gauge
0%
33.8 µs33.9 µs
test_filter
tests/benchmarks/test_serialization_micro.py::test_filter
CodSpeed Performance Gauge
0%
41.5 µs41.7 µs
test_bytes_core
tests/benchmarks/test_micro_benchmarks.py::test_bytes_core
CodSpeed Performance Gauge
-1%
13.1 µs13.2 µs
test_many_models_core_model
tests/benchmarks/test_micro_benchmarks.py::test_many_models_core_model
CodSpeed Performance Gauge
-1%
3.1 ms3.1 ms
test_generator_python
tests/benchmarks/test_micro_benchmarks.py::test_generator_python
CodSpeed Performance Gauge
-1%
25.6 µs25.7 µs
test_smart_union_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion::test_smart_union_core
CodSpeed Performance Gauge
-1%
15.3 µs15.4 µs
test_set_of_ints_core_json
tests/benchmarks/test_micro_benchmarks.py::test_set_of_ints_core_json
CodSpeed Performance Gauge
-1%
882.8 µs888.5 µs
test_complete_core_serializer_to_python
tests/benchmarks/test_complete_benchmark.py::test_complete_core_serializer_to_python
CodSpeed Performance Gauge
-1%
279.5 µs281.4 µs
test_enum_int_python
tests/benchmarks/test_micro_benchmarks.py::test_enum_int_python
CodSpeed Performance Gauge
-1%
23.3 µs23.5 µs
test_variable_tuple
tests/benchmarks/test_micro_benchmarks.py::test_variable_tuple
CodSpeed Performance Gauge
-1%
18.6 µs18.8 µs
test_tuple_many_positional
tests/benchmarks/test_micro_benchmarks.py::test_tuple_many_positional
CodSpeed Performance Gauge
-1%
18.5 µs18.6 µs
test_uuid_from_uuid_pyd
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID::test_uuid_from_uuid_pyd
CodSpeed Performance Gauge
-1%
14.1 µs14.2 µs
test_tagged_union_int_keys_json
tests/benchmarks/test_micro_benchmarks.py::test_tagged_union_int_keys_json
CodSpeed Performance Gauge
-1%
26.1 µs26.3 µs
test_strict_int_fails
tests/benchmarks/test_micro_benchmarks.py::test_strict_int_fails
CodSpeed Performance Gauge
-1%
25.6 µs25.8 µs
test_core_future_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX::test_core_future_str
CodSpeed Performance Gauge
-1%
16.9 µs17.1 µs
test_core_model_py
tests/benchmarks/test_serialization_micro.py::test_core_model_py
CodSpeed Performance Gauge
-1%
27.3 µs27.5 µs
test_complete_core_error
tests/benchmarks/test_complete_benchmark.py::test_complete_core_error
CodSpeed Performance Gauge
-1%
1.8 ms1.9 ms
test_complete_core_strict
tests/benchmarks/test_complete_benchmark.py::test_complete_core_strict
CodSpeed Performance Gauge
-1%
270.6 µs272.8 µs
test_core_python
tests/benchmarks/test_micro_benchmarks.py::TestModelLarge::test_core_python
CodSpeed Performance Gauge
-1%
137.6 µs138.8 µs
test_complete_core_lax
tests/benchmarks/test_complete_benchmark.py::test_complete_core_lax
CodSpeed Performance Gauge
-1%
293.7 µs296.3 µs
test_core_json_fs
tests/benchmarks/test_micro_benchmarks.py::TestModelLarge::test_core_json_fs
CodSpeed Performance Gauge
-1%
153.3 µs154.8 µs
test_validate_literal[python-few_mixed]
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[python-few_mixed]
CodSpeed Performance Gauge
-1%
16.3 µs16.5 µs
test_generator_rust
tests/benchmarks/test_micro_benchmarks.py::test_generator_rust
CodSpeed Performance Gauge
-1%
20.1 µs20.3 µs
test_set_of_ints_core_json_duplicates
tests/benchmarks/test_micro_benchmarks.py::test_set_of_ints_core_json_duplicates
CodSpeed Performance Gauge
-1%
432.6 µs436.8 µs
test_model_instance
tests/benchmarks/test_micro_benchmarks.py::test_model_instance
CodSpeed Performance Gauge
-1%
30.4 µs30.7 µs
test_complete_core_isinstance
tests/benchmarks/test_complete_benchmark.py::test_complete_core_isinstance
CodSpeed Performance Gauge
-1%
1.8 ms1.8 ms
test_validate_literal[python-many_large_strings]
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[python-many_large_strings]
CodSpeed Performance Gauge
-1%
14.3 µs14.5 µs
test_validate_literal[python-few_small_strings]
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[python-few_small_strings]
CodSpeed Performance Gauge
-1%
14.2 µs14.4 µs
test_dict_of_ints_core_json
tests/benchmarks/test_micro_benchmarks.py::test_dict_of_ints_core_json
CodSpeed Performance Gauge
-1%
1.4 ms1.4 ms
test_strict_union_error_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion::test_strict_union_error_core
CodSpeed Performance Gauge
-1%
32.5 µs32.9 µs
test_validate_literal[python-few_ints]
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[python-few_ints]
CodSpeed Performance Gauge
-1%
14 µs14.2 µs
test_dont_raise_error
tests/benchmarks/test_micro_benchmarks.py::test_dont_raise_error
CodSpeed Performance Gauge
-1%
19.1 µs19.3 µs
test_positional_tuple
tests/benchmarks/test_micro_benchmarks.py::test_positional_tuple
CodSpeed Performance Gauge
-1%
18.7 µs19 µs
test_tuple_many_variable
tests/benchmarks/test_micro_benchmarks.py::test_tuple_many_variable
CodSpeed Performance Gauge
-1%
18.5 µs18.7 µs
test_strict_int
tests/benchmarks/test_micro_benchmarks.py::test_strict_int
CodSpeed Performance Gauge
-1%
13.1 µs13.3 µs
test_core_string_strict
tests/benchmarks/test_micro_benchmarks.py::test_core_string_strict
CodSpeed Performance Gauge
-1%
13.1 µs13.2 µs
test_validate_literal[json-few_mixed]
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[json-few_mixed]
CodSpeed Performance Gauge
-1%
17.9 µs18.1 µs
test_tagged_union_int_keys_python
tests/benchmarks/test_micro_benchmarks.py::test_tagged_union_int_keys_python
CodSpeed Performance Gauge
-1%
21 µs21.3 µs
test_core_future
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX::test_core_future
CodSpeed Performance Gauge
-1%
17.6 µs17.8 µs
test_enum_str_python
tests/benchmarks/test_micro_benchmarks.py::test_enum_str_python
CodSpeed Performance Gauge
-1%
23.1 µs23.4 µs
test_many_models_core_dict
tests/benchmarks/test_micro_benchmarks.py::test_many_models_core_dict
CodSpeed Performance Gauge
-1%
1.2 ms1.2 ms
test_validate_literal[json-few_str_enum]
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[json-few_str_enum]
CodSpeed Performance Gauge
-1%
19.4 µs19.7 µs
test_int_range_json
tests/benchmarks/test_micro_benchmarks.py::test_int_range_json
CodSpeed Performance Gauge
-1%
15.3 µs15.5 µs
test_validate_literal[json-many_large_strings]
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[json-many_large_strings]
CodSpeed Performance Gauge
-1%
15.7 µs15.9 µs
test_validate_literal[json-many_small_strings]
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[json-many_small_strings]
CodSpeed Performance Gauge
-2%
15.4 µs15.7 µs
test_uuid_from_string_pyd
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID::test_uuid_from_string_pyd
CodSpeed Performance Gauge
-2%
48.6 µs49.3 µs
test_date_from_date
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX::test_date_from_date
CodSpeed Performance Gauge
-2%
13.5 µs13.7 µs
test_small_class_core_dict
tests/benchmarks/test_micro_benchmarks.py::test_small_class_core_dict
CodSpeed Performance Gauge
-2%
19.2 µs19.5 µs
test_validate_literal[json-few_ints]
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[json-few_ints]
CodSpeed Performance Gauge
-2%
14.9 µs15.2 µs
test_with_default
tests/benchmarks/test_micro_benchmarks.py::test_with_default
CodSpeed Performance Gauge
-2%
21.9 µs22.3 µs
test_core_python_fs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkSimpleModel::test_core_python_fs
CodSpeed Performance Gauge
-2%
73.3 µs74.6 µs
test_list_of_strs_json_uncached
tests/benchmarks/test_micro_benchmarks.py::test_list_of_strs_json_uncached
CodSpeed Performance Gauge
-2%
457.2 µs465.1 µs
test_validate_literal[json-many_ints]
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[json-many_ints]
CodSpeed Performance Gauge
-2%
14.9 µs15.2 µs
test_validate_literal[json-few_large_strings]
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[json-few_large_strings]
CodSpeed Performance Gauge
-2%
15.6 µs15.9 µs
test_raise_error_value_error
tests/benchmarks/test_micro_benchmarks.py::test_raise_error_value_error
CodSpeed Performance Gauge
-2%
35.1 µs35.8 µs
test_enum_str_core
tests/benchmarks/test_micro_benchmarks.py::test_enum_str_core
CodSpeed Performance Gauge
-2%
14.5 µs14.8 µs
test_validate_literal[json-few_small_strings]
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[json-few_small_strings]
CodSpeed Performance Gauge
-2%
15.4 µs15.7 µs
test_validate_literal[python-many_small_strings]
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[python-many_small_strings]
CodSpeed Performance Gauge
-2%
14.2 µs14.5 µs
test_list_of_ints_core_py
tests/benchmarks/test_micro_benchmarks.py::test_list_of_ints_core_py
CodSpeed Performance Gauge
-3%
495.1 µs508 µs
test_list_of_dict_models_core
tests/benchmarks/test_micro_benchmarks.py::test_list_of_dict_models_core
CodSpeed Performance Gauge
-3%
124.9 µs128.2 µs
test_set_of_ints_core_length
tests/benchmarks/test_micro_benchmarks.py::test_set_of_ints_core_length
CodSpeed Performance Gauge
-3%
714.4 µs734.5 µs
test_core_json_fs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkSimpleModel::test_core_json_fs
CodSpeed Performance Gauge
-3%
117.1 µs120.5 µs
test_set_of_ints_core
tests/benchmarks/test_micro_benchmarks.py::test_set_of_ints_core
CodSpeed Performance Gauge
-3%
700.7 µs721.4 µs
test_frozenset_of_ints_core
tests/benchmarks/test_micro_benchmarks.py::test_frozenset_of_ints_core
CodSpeed Performance Gauge
-3%
249.5 µs258.1 µs
test_decimal_from_string_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDecimal::test_decimal_from_string_core
CodSpeed Performance Gauge
-4%
23.5 µs24.5 µs
test_core_root_model
tests/benchmarks/test_micro_benchmarks.py::test_core_root_model
CodSpeed Performance Gauge
-5%
37.3 µs39.1 µs
test_definition_out_of_tree
tests/benchmarks/test_micro_benchmarks.py::test_definition_out_of_tree
CodSpeed Performance Gauge
-5%
975.4 µs1,029 µs
test_list_of_strs_py_cached
tests/benchmarks/test_micro_benchmarks.py::test_list_of_strs_py_cached
CodSpeed Performance Gauge
-7%
122.1 µs130.6 µs
test_definition_in_tree
tests/benchmarks/test_micro_benchmarks.py::test_definition_in_tree
CodSpeed Performance Gauge
-7%
716.5 µs766.9 µs
test_list_of_nullable_core
tests/benchmarks/test_micro_benchmarks.py::test_list_of_nullable_core
CodSpeed Performance Gauge
-8%
102.3 µs110.8 µs
test_set_of_ints_core_duplicatesRegression
tests/benchmarks/test_micro_benchmarks.py::test_set_of_ints_core_duplicates
CodSpeed Performance Gauge
-12%
307 µs347.9 µs
test_frozenset_of_ints_duplicates_coreRegression
tests/benchmarks/test_micro_benchmarks.py::test_frozenset_of_ints_duplicates_core
CodSpeed Performance Gauge
-17%
144.2 µs173 µs

Commits

Click on a commit to change the comparison range
Base
main
5e95c05
+0.2%
tests for set,frozenset,list,dict,typed_dict
554ec40
11 months ago
by samuelcolvin
-0.22%
fix linting
6cd985d
11 months ago
by samuelcolvin
+0.41%
revert formatting changes
b5b2332
11 months ago
by samuelcolvin
-0.48%
fix js tests and benchmarks
45ef7d5
11 months ago
by samuelcolvin
+0.08%
support partial JSON parsing
92e694f
11 months ago
by samuelcolvin
-15.7%
move allow_partial to state, and set it correctly
470754d
11 months ago
by samuelcolvin
+0.09%
require validators to support partial
bd127eb
11 months ago
by samuelcolvin
-0.2%
try to fix js tests
417ad13
11 months ago
by samuelcolvin
+0.03%
fix tests
0d453a0
11 months ago
by samuelcolvin
+0.11%
support typeddicts where not all fields are not required
ee72ba9
11 months ago
by samuelcolvin
-0.09%
uprev jiter
f28aaba
11 months ago
by samuelcolvin
-1.06%
removee Box dyn by always using EnumerateLastPartial
47f1c15
11 months ago
by samuelcolvin
-0.08%
tweak comments
e220710
11 months ago
by samuelcolvin
-0.08%
switch defautl for supports_partial
a0936cd
11 months ago
by samuelcolvin
+0.08%
support nested JSON validators
6478dba
11 months ago
by samuelcolvin
+0.06%
switch last_key method for mapping
5a521a8
11 months ago
by samuelcolvin
+0.06%
remove support_partial
327083c
11 months ago
by samuelcolvin
+0.19%
Merge branch 'main' into allow_partial
b1226d5
11 months ago
by samuelcolvin
© 2025 CodSpeed Technology
Home Terms Privacy Docs