Avatar for the AvalancheHQ user
AvalancheHQ
pydantic-core-test
BlogDocsChangelog

Benchmarks

test_build_schema
tests/benchmarks/test_complete_benchmark.py::test_build_schemacreated
2 years ago
, last run
7 months ago
0
514
837.6 µs
tests/benchmarks/test_complete_benchmark.py::test_complete_core_errorcreated
2 years ago
, last run
7 months ago
0
514
1.8 ms
tests/benchmarks/test_complete_benchmark.py::test_complete_core_isinstancecreated
2 years ago
, last run
7 months ago
0
514
1.8 ms
tests/benchmarks/test_complete_benchmark.py::test_complete_core_jsoncreated
2 years ago
, last run
7 months ago
0
514
816.4 µs
tests/benchmarks/test_complete_benchmark.py::test_complete_core_laxcreated
2 years ago
, last run
7 months ago
0
514
318.2 µs
tests/benchmarks/test_complete_benchmark.py::test_complete_core_strictcreated
2 years ago
, last run
7 months ago
0
514
303.4 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime::test_core_futurecreated
2 years ago
, last run
7 months ago
0
514
23.3 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime::test_core_future_strcreated
2 years ago
, last run
7 months ago
0
514
16.3 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime::test_core_pythoncreated
2 years ago
, last run
7 months ago
0
514
22.8 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime::test_core_rawcreated
2 years ago
, last run
7 months ago
0
514
11 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime::test_core_strcreated
2 years ago
, last run
7 months ago
0
514
16.1 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime::test_model_core_jsoncreated
2 years ago
, last run
7 months ago
0
514
30.6 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX::test_core_futurecreated
2 years ago
, last run
7 months ago
0
514
14.9 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX::test_core_future_strcreated
2 years ago
, last run
7 months ago
0
514
13.2 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX::test_date_from_datecreated
2 years ago
, last run
7 months ago
0
514
11 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX::test_date_from_datetimecreated
2 years ago
, last run
7 months ago
0
514
18.6 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX::test_date_from_datetime_strcreated
2 years ago
, last run
7 months ago
0
514
14.7 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX::test_date_from_strcreated
2 years ago
, last run
7 months ago
0
514
13.2 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkSimpleModel::test_core_json_fscreated
2 years ago
, last run
7 months ago
0
514
248.6 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkSimpleModel::test_core_python_fscreated
2 years ago
, last run
7 months ago
0
514
87.3 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID::test_core_pythoncreated
2 years ago
, last run
7 months ago
0
514
22.5 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID::test_core_rawcreated
2 years ago
, last run
7 months ago
0
514
10.8 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID::test_core_strcreated
2 years ago
, last run
7 months ago
0
514
35.5 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID::test_model_core_jsoncreated
2 years ago
, last run
7 months ago
0
514
46.9 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID::test_uuid_from_string_corecreated
2 years ago
, last run
7 months ago
0
514
35.6 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID::test_uuid_from_string_pydcreated
2 years ago
, last run
7 months ago
0
514
46 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID::test_uuid_from_uuid_corecreated
2 years ago
, last run
7 months ago
0
514
10.8 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID::test_uuid_from_uuid_pydcreated
2 years ago
, last run
7 months ago
0
514
11.7 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion::test_smart_union_coerce_corecreated
2 years ago
, last run
7 months ago
0
514
14.2 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion::test_smart_union_corecreated
2 years ago
, last run
7 months ago
0
514
12.7 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion::test_strict_union_corecreated
2 years ago
, last run
7 months ago
0
514
14.3 µs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion::test_strict_union_error_corecreated
2 years ago
, last run
7 months ago
0
514
26.7 µs
tests/benchmarks/test_micro_benchmarks.py::TestModelLarge::test_core_json_fscreated
2 years ago
, last run
7 months ago
0
514
229 µs
tests/benchmarks/test_micro_benchmarks.py::TestModelLarge::test_core_pythoncreated
2 years ago
, last acknowledgement
2 years ago
1
514
150.4 µs
tests/benchmarks/test_micro_benchmarks.py::test_argumentscreated
2 years ago
, last run
7 months ago
0
514
20.6 µs
tests/benchmarks/test_micro_benchmarks.py::test_bool_corecreated
2 years ago
, last run
7 months ago
0
514
22 µs
tests/benchmarks/test_micro_benchmarks.py::test_bytes_corecreated
2 years ago
, last run
7 months ago
0
514
10.7 µs
tests/benchmarks/test_micro_benchmarks.py::test_chain_functioncreated
2 years ago
, last run
7 months ago
0
514
22.7 µs
tests/benchmarks/test_micro_benchmarks.py::test_chain_listcreated
2 years ago
, last run
7 months ago
0
514
23.2 µs
tests/benchmarks/test_micro_benchmarks.py::test_chain_nested_functionscreated
2 years ago
, last run
7 months ago
0
514
26.4 µs
tests/benchmarks/test_micro_benchmarks.py::test_chain_two_functionscreated
2 years ago
, last run
7 months ago
0
514
26.5 µs
tests/benchmarks/test_micro_benchmarks.py::test_core_root_modelcreated
2 years ago
, last run
7 months ago
0
514
37 µs
tests/benchmarks/test_micro_benchmarks.py::test_core_string_laxcreated
2 years ago
, last run
7 months ago
0
514
10.6 µs
tests/benchmarks/test_micro_benchmarks.py::test_core_string_lax_wrongcreated
2 years ago
, last run
7 months ago
0
514
23.5 µs
tests/benchmarks/test_micro_benchmarks.py::test_core_string_strictcreated
2 years ago
, last run
7 months ago
0
514
10.6 µs
tests/benchmarks/test_micro_benchmarks.py::test_core_string_strict_wrongcreated
2 years ago
, last run
7 months ago
0
514
23.3 µs
tests/benchmarks/test_micro_benchmarks.py::test_core_string_strict_wrong_str_ecreated
2 years ago
, last run
7 months ago
0
514
39.2 µs
tests/benchmarks/test_micro_benchmarks.py::test_definition_in_treecreated
2 years ago
, last run
7 months ago
0
514
825.7 µs
tests/benchmarks/test_micro_benchmarks.py::test_definition_model_corecreated
2 years ago
, last run
7 months ago
0
514
1.2 ms
tests/benchmarks/test_micro_benchmarks.py::test_definition_out_of_treecreated
2 years ago
, last run
7 months ago
0
514
1.3 ms
tests/benchmarks/test_micro_benchmarks.py::test_dict_of_any_corecreated
2 years ago
, last run
7 months ago
0
514
746.9 µs
tests/benchmarks/test_micro_benchmarks.py::test_dict_of_ints_corecreated
2 years ago
, last run
7 months ago
0
514
993 µs
tests/benchmarks/test_micro_benchmarks.py::test_dict_of_ints_core_jsoncreated
2 years ago
, last run
7 months ago
0
514
2.9 ms
tests/benchmarks/test_micro_benchmarks.py::test_dont_raise_errorcreated
2 years ago
, last run
7 months ago
0
514
17.2 µs
tests/benchmarks/test_micro_benchmarks.py::test_dont_raise_error_no_infocreated
2 years ago
, last run
7 months ago
0
514
15.9 µs
tests/benchmarks/test_micro_benchmarks.py::test_field_function_validatorcreated
2 years ago
, last run
7 months ago
0
514
473.5 µs
tests/benchmarks/test_micro_benchmarks.py::test_frozenset_of_ints_corecreated
2 years ago
, last run
7 months ago
0
514
247.8 µs
tests/benchmarks/test_micro_benchmarks.py::test_frozenset_of_ints_duplicates_corecreated
2 years ago
, last run
7 months ago
0
514
151.3 µs
tests/benchmarks/test_micro_benchmarks.py::test_generator_pythoncreated
2 years ago
, last run
7 months ago
0
514
26.6 µs
tests/benchmarks/test_micro_benchmarks.py::test_generator_rustcreated
2 years ago
, last run
7 months ago
0
514
17.4 µs
tests/benchmarks/test_micro_benchmarks.py::test_int_errorcreated
2 years ago
, last acknowledgement
2 years ago
1
514
38.6 µs
tests/benchmarks/test_micro_benchmarks.py::test_int_rangecreated
2 years ago
, last run
7 months ago
0
514
11.8 µs
tests/benchmarks/test_micro_benchmarks.py::test_int_range_jsoncreated
2 years ago
, last run
7 months ago
0
514
13.3 µs
tests/benchmarks/test_micro_benchmarks.py::test_isinstance_jsoncreated
2 years ago
, last run
7 months ago
0
514
17.4 µs
tests/benchmarks/test_micro_benchmarks.py::test_isinstance_string_lax_falsecreated
2 years ago
, last run
7 months ago
0
514
12 µs
tests/benchmarks/test_micro_benchmarks.py::test_isinstance_string_lax_truecreated
2 years ago
, last run
7 months ago
0
514
10.7 µs
tests/benchmarks/test_micro_benchmarks.py::test_isinstance_string_strict_falsecreated
2 years ago
, last run
7 months ago
0
514
11.7 µs
tests/benchmarks/test_micro_benchmarks.py::test_isinstance_string_strict_truecreated
2 years ago
, last run
7 months ago
0
514
10.8 µs
tests/benchmarks/test_micro_benchmarks.py::test_list_of_any_core_pycreated
2 years ago
, last run
7 months ago
0
514
97.7 µs
tests/benchmarks/test_micro_benchmarks.py::test_list_of_dict_models_corecreated
2 years ago
, last run
7 months ago
0
514
123.3 µs
tests/benchmarks/test_micro_benchmarks.py::test_list_of_ints_core_jsoncreated
2 years ago
, last run
7 months ago
0
514
1.3 ms
tests/benchmarks/test_micro_benchmarks.py::test_list_of_ints_core_pycreated
2 years ago
, last run
7 months ago
0
514
466.5 µs
tests/benchmarks/test_micro_benchmarks.py::test_list_of_nullable_corecreated
2 years ago
, last run
7 months ago
0
514
114.1 µs
tests/benchmarks/test_micro_benchmarks.py::test_many_models_core_dictcreated
2 years ago
, last run
7 months ago
0
514
1.1 ms
tests/benchmarks/test_micro_benchmarks.py::test_many_models_core_modelcreated
2 years ago
, last run
7 months ago
0
514
2.5 ms
tests/benchmarks/test_micro_benchmarks.py::test_model_instancecreated
2 years ago
, last run
7 months ago
0
514
26.9 µs
tests/benchmarks/test_micro_benchmarks.py::test_model_instance_abccreated
2 years ago
, last run
7 months ago
0
514
25.8 µs
tests/benchmarks/test_micro_benchmarks.py::test_positional_tuplecreated
2 years ago
, last run
7 months ago
0
514
15.6 µs
tests/benchmarks/test_micro_benchmarks.py::test_raise_error_customcreated
2 years ago
, last run
7 months ago
0
514
32.9 µs
tests/benchmarks/test_micro_benchmarks.py::test_raise_error_value_errorcreated
2 years ago
, last run
7 months ago
0
514
32.3 µs
tests/benchmarks/test_micro_benchmarks.py::test_set_of_ints_corecreated
2 years ago
, last run
7 months ago
0
514
672.4 µs
tests/benchmarks/test_micro_benchmarks.py::test_set_of_ints_core_duplicatescreated
2 years ago
, last run
7 months ago
0
514
317.7 µs
tests/benchmarks/test_micro_benchmarks.py::test_set_of_ints_core_jsoncreated
2 years ago
, last run
7 months ago
0
514
1.4 ms
tests/benchmarks/test_micro_benchmarks.py::test_set_of_ints_core_json_duplicatescreated
2 years ago
, last run
7 months ago
0
514
1.1 ms
tests/benchmarks/test_micro_benchmarks.py::test_set_of_ints_core_lengthcreated
2 years ago
, last run
7 months ago
0
514
687.8 µs
tests/benchmarks/test_micro_benchmarks.py::test_small_class_core_dictcreated
2 years ago
, last run
7 months ago
0
514
15 µs
tests/benchmarks/test_micro_benchmarks.py::test_small_class_core_modelcreated
2 years ago
, last run
7 months ago
0
514
24.6 µs
tests/benchmarks/test_micro_benchmarks.py::test_strict_intcreated
2 years ago
, last run
7 months ago
0
514
10.8 µs
tests/benchmarks/test_micro_benchmarks.py::test_tagged_union_int_keys_jsoncreated
2 years ago
, last run
7 months ago
0
514
24.2 µs
tests/benchmarks/test_micro_benchmarks.py::test_tagged_union_int_keys_pythoncreated
2 years ago
, last run
7 months ago
0
514
17.3 µs
tests/benchmarks/test_micro_benchmarks.py::test_tuple_many_positionalcreated
2 years ago
, last run
7 months ago
0
514
17.7 µs
tests/benchmarks/test_micro_benchmarks.py::test_tuple_many_variablecreated
2 years ago
, last run
7 months ago
0
514
15.7 µs
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[json-few_ints]created
2 years ago
, last run
7 months ago
0
514
13.2 µs
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[json-few_large_strings]created
2 years ago
, last run
7 months ago
0
514
13.5 µs
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[json-few_mixed]created
2 years ago
, last acknowledgement
2 years ago
1
514
15.1 µs
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[json-few_small_strings]created
2 years ago
, last run
7 months ago
0
514
13.4 µs
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[json-few_str_enum]created
2 years ago
, last run
7 months ago
0
514
17 µs
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[json-many_ints]created
2 years ago
, last run
7 months ago
0
514
13.2 µs
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[json-many_large_strings]created
2 years ago
, last run
7 months ago
0
514
13.6 µs
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[json-many_small_strings]created
2 years ago
, last run
7 months ago
0
514
13.4 µs
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[python-few_ints]created
2 years ago
, last run
7 months ago
0
514
11.5 µs
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[python-few_large_strings]created
2 years ago
, last run
7 months ago
0
514
11.7 µs
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[python-few_mixed]created
2 years ago
, last acknowledgement
2 years ago
1
514
13.6 µs
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[python-few_small_strings]created
2 years ago
, last run
7 months ago
0
514
11.5 µs
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[python-few_str_enum]created
2 years ago
, last run
7 months ago
0
514
12.6 µs
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[python-many_ints]created
2 years ago
, last run
7 months ago
0
514
11.6 µs
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[python-many_large_strings]created
2 years ago
, last run
7 months ago
0
514
11.7 µs
tests/benchmarks/test_micro_benchmarks.py::test_validate_literal[python-many_small_strings]created
2 years ago
, last run
7 months ago
0
514
11.6 µs
tests/benchmarks/test_micro_benchmarks.py::test_variable_tuplecreated
2 years ago
, last run
7 months ago
0
514
16 µs
tests/benchmarks/test_micro_benchmarks.py::test_with_defaultcreated
2 years ago
, last run
7 months ago
0
514
19.7 µs
tests/benchmarks/test_serialization_micro.py::TestBenchmarkSimpleModel::test_core_dictcreated
2 years ago
, last run
7 months ago
0
514
73.5 µs
tests/benchmarks/test_serialization_micro.py::TestBenchmarkSimpleModel::test_core_dict_filtercreated
2 years ago
, last run
7 months ago
0
514
82.2 µs
tests/benchmarks/test_serialization_micro.py::TestBenchmarkSimpleModel::test_core_jsoncreated
2 years ago
, last run
7 months ago
0
514
90.1 µs
tests/benchmarks/test_serialization_micro.py::test_core_model_jsoncreated
2 years ago
, last run
7 months ago
0
514
21.8 µs
tests/benchmarks/test_serialization_micro.py::test_core_model_json_extracreated
2 years ago
, last run
7 months ago
0
514
26.3 µs
tests/benchmarks/test_serialization_micro.py::test_core_model_pycreated
2 years ago
, last run
7 months ago
0
514
23.4 µs
tests/benchmarks/test_serialization_micro.py::test_core_model_py_extracreated
2 years ago
, last acknowledgement
2 years ago
1
514
27.8 µs
tests/benchmarks/test_serialization_micro.py::test_date_formatcreated
2 years ago
, last run
7 months ago
0
514
47.6 µs
tests/benchmarks/test_serialization_micro.py::test_date_format_functioncreated
2 years ago
, last run
7 months ago
0
514
49.9 µs
tests/benchmarks/test_serialization_micro.py::test_date_format_function_no_infocreated
2 years ago
, last run
7 months ago
0
514
47.9 µs
tests/benchmarks/test_serialization_micro.py::test_datetimecreated
2 years ago
, last run
7 months ago
0
514
25.2 µs
tests/benchmarks/test_serialization_micro.py::test_filtercreated
2 years ago
, last run
7 months ago
0
514
40 µs
tests/benchmarks/test_serialization_micro.py::test_json_any_list_intcreated
2 years ago
, last run
7 months ago
0
514
259.4 µs
tests/benchmarks/test_serialization_micro.py::test_json_any_list_strcreated
2 years ago
, last run
7 months ago
0
514
271.1 µs
tests/benchmarks/test_serialization_micro.py::test_json_direct_list_intcreated
2 years ago
, last run
7 months ago
0
514
161.2 µs
tests/benchmarks/test_serialization_micro.py::test_json_direct_list_strcreated
2 years ago
, last run
7 months ago
0
514
189.7 µs
tests/benchmarks/test_serialization_micro.py::test_model_exclude_unset_falsecreated
2 years ago
, last run
7 months ago
0
514
27.6 µs
tests/benchmarks/test_serialization_micro.py::test_model_exclude_unset_truecreated
2 years ago
, last run
7 months ago
0
514
33.6 µs
tests/benchmarks/test_serialization_micro.py::test_model_list_core_jsoncreated
2 years ago
, last run
7 months ago
0
514
175.7 µs
tests/benchmarks/test_serialization_micro.py::test_python_json_list_intcreated
2 years ago
, last run
7 months ago
0
514
145.5 µs
tests/benchmarks/test_serialization_micro.py::test_python_json_list_nonecreated
2 years ago
, last run
7 months ago
0
514
118.4 µs
tests/benchmarks/test_serialization_micro.py::test_python_json_list_strcreated
2 years ago
, last run
7 months ago
0
514
149.4 µs
tests/benchmarks/test_serialization_micro.py::test_to_string_directcreated
2 years ago
, last run
7 months ago
0
514
15.3 µs
tests/benchmarks/test_serialization_micro.py::test_to_string_formatcreated
2 years ago
, last run
7 months ago
0
514
20.2 µs
tests/benchmarks/test_serialization_micro.py::test_uuidcreated
2 years ago
, last run
7 months ago
0
514
34.8 µs
© 2025 CodSpeed Technology
Home Terms PrivacyDocs