Avatar for the pydantic user
pydantic
pydantic
BlogDocsChangelog

Benchmarks

test_getattr
tests/benchmarks/test_attribute_access.py::test_getattrcreated
4 months ago
, last acknowledgement
3 months ago
2
1049
54.2 µs
tests/benchmarks/test_attribute_access.py::test_setattrcreated
4 months ago
, last acknowledgement
3 months ago
2
1049
88.8 µs
tests/benchmarks/test_discriminated_unions.py::test_efficiency_with_highly_nested_examplescreated
1 year ago
, last acknowledgement
6 months ago
2
3714
691 µs
tests/benchmarks/test_discriminated_unions.py::test_schema_buildcreated
1 year ago
, last run
5 hours ago
0
3715
2.7 ms
tests/benchmarks/test_fastapi_startup_generics.py::test_fastapi_startup_perfcreated
1 year ago
, last acknowledgement
1 year ago
3
4821
83.7 ms
tests/benchmarks/test_fastapi_startup_simple.py::test_fastapi_startup_perfcreated
1 year ago
, last run
5 hours ago
0
4821
19.8 ms
tests/benchmarks/test_imports.py::test_import_basemodelcreated
8 months ago
, last run
5 hours ago
0
2683
26 µs
tests/benchmarks/test_imports.py::test_import_fieldcreated
8 months ago
, last run
5 hours ago
0
2683
25.9 µs
tests/benchmarks/test_isinstance.py::test_isinstance_basemodelcreated
8 months ago
, last run
5 hours ago
0
2683
26.8 ms
tests/benchmarks/test_model_schema_generation.py::test_complex_model_schema_generationcreated
7 months ago
, last run
5 hours ago
0
2307
1.5 ms
tests/benchmarks/test_model_schema_generation.py::test_construct_dataclass_schemacreated
7 months ago
, last run
5 hours ago
0
1969
1.1 ms
tests/benchmarks/test_model_schema_generation.py::test_failed_rebuildcreated
1 month ago
, last run
5 hours ago
0
291
212.6 µs
test_field_validators_serializersIgnored
tests/benchmarks/test_model_schema_generation.py::test_field_validators_serializerscreated
7 months ago
, last run
5 hours ago
0
1969
1.7 ms
tests/benchmarks/test_model_schema_generation.py::test_lots_of_models_with_lots_of_fieldscreated
7 months ago
, last run
5 hours ago
0
2288
2 s
tests/benchmarks/test_model_schema_generation.py::test_model_validators_serializerscreated
7 months ago
, last acknowledgement
21 days ago
1
1969
777.5 µs
tests/benchmarks/test_model_schema_generation.py::test_nested_model_schema_generationcreated
7 months ago
, last run
5 hours ago
0
2305
829.6 µs
tests/benchmarks/test_model_schema_generation.py::test_recursive_model_schema_generationcreated
7 months ago
, last run
5 hours ago
0
2307
849.9 µs
tests/benchmarks/test_model_schema_generation.py::test_simple_model_schema_generationcreated
7 months ago
, last run
5 hours ago
0
2307
631.2 µs
tests/benchmarks/test_model_schema_generation.py::test_simple_model_schema_lots_of_fields_generationcreated
7 months ago
, last run
5 hours ago
0
1970
22.8 ms
tests/benchmarks/test_model_schema_generation.py::test_tagged_union_with_callable_discriminator_schema_generationcreated
6 months ago
, last acknowledgement
3 months ago
1
1913
1 ms
tests/benchmarks/test_model_schema_generation.py::test_tagged_union_with_str_discriminator_schema_generationcreated
6 months ago
, last run
5 hours ago
0
1914
1.1 ms
tests/benchmarks/test_model_schema_generation_recursive.py::test_deeply_nested_recursive_model_schema_generationcreated
5 months ago
, last run
5 hours ago
0
1600
1.3 ms
tests/benchmarks/test_model_schema_generation_recursive.py::test_generic_recursive_model_schema_generationcreated
5 months ago
, last run
5 hours ago
0
1600
756.6 µs
tests/benchmarks/test_model_schema_generation_recursive.py::test_nested_recursive_generic_model_schema_generationcreated
5 months ago
, last run
5 hours ago
0
1600
1.4 ms
tests/benchmarks/test_model_schema_generation_recursive.py::test_nested_recursive_model_schema_generationcreated
5 months ago
, last run
5 hours ago
0
1600
1.5 ms
tests/benchmarks/test_model_schema_generation_recursive.py::test_recursive_discriminated_union_with_base_modelcreated
5 months ago
, last run
5 hours ago
0
1600
1.5 ms
tests/benchmarks/test_model_schema_generation_recursive.py::test_simple_recursive_model_schema_generationcreated
5 months ago
, last run
5 hours ago
0
1600
626.9 µs
tests/benchmarks/test_model_serialization.py::test_complex_model_serializationcreated
7 months ago
, last acknowledgement
6 months ago
1
2307
44.3 µs
tests/benchmarks/test_model_serialization.py::test_list_of_models_serializationcreated
7 months ago
, last run
5 hours ago
0
2307
54.3 µs
tests/benchmarks/test_model_serialization.py::test_model_json_serializationcreated
7 months ago
, last acknowledgement
6 months ago
1
2307
49.1 µs
tests/benchmarks/test_model_serialization.py::test_nested_model_serializationcreated
7 months ago
, last acknowledgement
2 months ago
1
2307
40.8 µs
tests/benchmarks/test_model_serialization.py::test_simple_model_serializationcreated
7 months ago
, last run
5 hours ago
0
2307
31.8 µs
tests/benchmarks/test_model_validation.py::test_complex_model_validation[__init__]created
7 months ago
, last run
5 hours ago
0
2268
49.8 µs
tests/benchmarks/test_model_validation.py::test_complex_model_validation[model_validate]created
7 months ago
, last run
5 hours ago
0
2268
51.2 µs
tests/benchmarks/test_model_validation.py::test_list_of_models_validation[__init__]created
7 months ago
, last run
5 hours ago
0
2268
80.5 µs
tests/benchmarks/test_model_validation.py::test_list_of_models_validation[model_validate]created
7 months ago
, last run
5 hours ago
0
2268
77.3 µs
tests/benchmarks/test_model_validation.py::test_nested_model_validation[__init__]created
7 months ago
, last run
5 hours ago
0
2268
52.5 µs
tests/benchmarks/test_model_validation.py::test_nested_model_validation[model_validate]created
7 months ago
, last run
5 hours ago
0
2268
50.2 µs
tests/benchmarks/test_model_validation.py::test_simple_model_validation[__init__]created
7 months ago
, last acknowledgement
4 months ago
1
2268
37.1 µs
tests/benchmarks/test_model_validation.py::test_simple_model_validation[model_validate]created
7 months ago
, last acknowledgement
3 months ago
1
2268
39.2 µs
tests/benchmarks/test_north_star.py::test_north_star_dump_jsoncreated
1 year ago
, last run
5 hours ago
0
4821
30.1 ms
tests/benchmarks/test_north_star.py::test_north_star_dump_pythoncreated
1 year ago
, last acknowledgement
2 months ago
1
4821
17 ms
tests/benchmarks/test_north_star.py::test_north_star_json_dumpscreated
1 year ago
, last run
5 hours ago
0
4821
23.2 ms
tests/benchmarks/test_north_star.py::test_north_star_json_loadscreated
1 year ago
, last acknowledgement
1 year ago
1
4821
19.2 ms
tests/benchmarks/test_north_star.py::test_north_star_validate_jsoncreated
1 year ago
, last run
5 hours ago
0
4821
38.7 ms
tests/benchmarks/test_north_star.py::test_north_star_validate_json_strictcreated
1 year ago
, last run
5 hours ago
0
4821
38.6 ms
tests/benchmarks/test_north_star.py::test_north_star_validate_pythoncreated
1 year ago
, last acknowledgement
1 year ago
1
4821
38.1 ms
tests/benchmarks/test_north_star.py::test_north_star_validate_python_strictcreated
1 year ago
, last acknowledgement
2 months ago
2
4821
22.7 ms
Home Terms PrivacyDocs