Avatar for the pydantic user
pydantic
pydantic
BlogDocsChangelog

Benchmarks

test_getattr
Instrumentation
tests/benchmarks/test_attribute_access.py::test_getattrcreated
7 months ago
, last acknowledgement
6 months ago
2
1503
55.3 µs
test_setattr
Instrumentation
tests/benchmarks/test_attribute_access.py::test_setattrcreated
7 months ago
, last acknowledgement
6 months ago
2
1503
89.7 µs
tests/benchmarks/test_discriminated_unions.py::test_efficiency_with_highly_nested_examplescreated
1 year ago
, last acknowledgement
9 months ago
2
4168
729.5 µs
test_schema_build
Instrumentation
tests/benchmarks/test_discriminated_unions.py::test_schema_buildcreated
1 year ago
, last run
6 days ago
0
4169
2.6 ms
tests/benchmarks/test_fastapi_startup_generics.py::test_fastapi_startup_perfcreated
2 years ago
, last acknowledgement
1 year ago
3
5275
83 ms
tests/benchmarks/test_fastapi_startup_simple.py::test_fastapi_startup_perfcreated
2 years ago
, last run
6 days ago
0
5274
19.8 ms
test_import_basemodel
Instrumentation
tests/benchmarks/test_imports.py::test_import_basemodelcreated
11 months ago
, last run
6 days ago
0
3137
26.1 µs
test_import_field
Instrumentation
tests/benchmarks/test_imports.py::test_import_fieldcreated
11 months ago
, last run
6 days ago
0
3137
25.9 µs
tests/benchmarks/test_isinstance.py::test_isinstance_basemodelcreated
11 months ago
, last run
6 days ago
0
3137
26.8 ms
tests/benchmarks/test_model_schema_generation.py::test_complex_model_schema_generationcreated
10 months ago
, last run
6 days ago
0
2761
1.5 ms
tests/benchmarks/test_model_schema_generation.py::test_construct_dataclass_schemacreated
10 months ago
, last run
6 days ago
0
2422
1.1 ms
test_failed_rebuild
Instrumentation
tests/benchmarks/test_model_schema_generation.py::test_failed_rebuildcreated
4 months ago
, last run
6 days ago
0
745
217.6 µs
test_field_validators_serializers
Instrumentation
Ignored
tests/benchmarks/test_model_schema_generation.py::test_field_validators_serializerscreated
10 months ago
, last run
6 days ago
0
2423
1.4 ms
tests/benchmarks/test_model_schema_generation.py::test_lots_of_models_with_lots_of_fieldscreated
10 months ago
, last run
6 days ago
0
2742
2 s
tests/benchmarks/test_model_schema_generation.py::test_model_validators_serializerscreated
10 months ago
, last acknowledgement
4 months ago
1
2423
764.4 µs
tests/benchmarks/test_model_schema_generation.py::test_nested_model_schema_generationcreated
10 months ago
, last run
6 days ago
0
2759
822.6 µs
tests/benchmarks/test_model_schema_generation.py::test_recursive_model_schema_generationcreated
10 months ago
, last run
6 days ago
0
2761
838 µs
tests/benchmarks/test_model_schema_generation.py::test_simple_model_schema_generationcreated
10 months ago
, last run
6 days ago
0
2761
608.7 µs
tests/benchmarks/test_model_schema_generation.py::test_simple_model_schema_lots_of_fields_generationcreated
10 months ago
, last run
6 days ago
0
2424
22.3 ms
tests/benchmarks/test_model_schema_generation.py::test_tagged_union_with_callable_discriminator_schema_generationcreated
9 months ago
, last acknowledgement
6 months ago
1
2367
1 ms
tests/benchmarks/test_model_schema_generation.py::test_tagged_union_with_str_discriminator_schema_generationcreated
9 months ago
, last run
6 days ago
0
2368
1 ms
tests/benchmarks/test_model_schema_generation_recursive.py::test_deeply_nested_recursive_model_schema_generationcreated
8 months ago
, last run
6 days ago
0
2054
1.3 ms
tests/benchmarks/test_model_schema_generation_recursive.py::test_generic_recursive_model_schema_generationcreated
8 months ago
, last run
6 days ago
0
2053
741.8 µs
tests/benchmarks/test_model_schema_generation_recursive.py::test_nested_recursive_generic_model_schema_generationcreated
8 months ago
, last run
6 days ago
0
2053
1.4 ms
tests/benchmarks/test_model_schema_generation_recursive.py::test_nested_recursive_model_schema_generationcreated
8 months ago
, last run
6 days ago
0
2054
1.5 ms
tests/benchmarks/test_model_schema_generation_recursive.py::test_recursive_discriminated_union_with_base_modelcreated
8 months ago
, last run
6 days ago
0
2054
1.5 ms
tests/benchmarks/test_model_schema_generation_recursive.py::test_simple_recursive_model_schema_generationcreated
8 months ago
, last run
6 days ago
0
2054
619.2 µs
tests/benchmarks/test_model_serialization.py::test_complex_model_serializationcreated
10 months ago
, last acknowledgement
9 months ago
1
2761
44.7 µs
tests/benchmarks/test_model_serialization.py::test_list_of_models_serializationcreated
10 months ago
, last run
6 days ago
0
2761
57.4 µs
tests/benchmarks/test_model_serialization.py::test_model_json_serializationcreated
10 months ago
, last acknowledgement
9 months ago
1
2761
49.8 µs
test_nested_model_serialization
Instrumentation
Ignored
tests/benchmarks/test_model_serialization.py::test_nested_model_serializationcreated
10 months ago
, last acknowledgement
5 months ago
1
2761
42.6 µs
tests/benchmarks/test_model_serialization.py::test_simple_model_serializationcreated
10 months ago
, last run
6 days ago
0
2761
33.1 µs
tests/benchmarks/test_model_validation.py::test_complex_model_validation[__init__]created
10 months ago
, last run
6 days ago
0
2722
50.2 µs
tests/benchmarks/test_model_validation.py::test_complex_model_validation[model_validate]created
10 months ago
, last run
6 days ago
0
2722
50.9 µs
tests/benchmarks/test_model_validation.py::test_list_of_models_validation[__init__]created
10 months ago
, last run
6 days ago
0
2722
81.7 µs
tests/benchmarks/test_model_validation.py::test_list_of_models_validation[model_validate]created
10 months ago
, last run
6 days ago
0
2722
79.8 µs
tests/benchmarks/test_model_validation.py::test_nested_model_validation[__init__]created
10 months ago
, last run
6 days ago
0
2722
52.9 µs
tests/benchmarks/test_model_validation.py::test_nested_model_validation[model_validate]created
10 months ago
, last run
6 days ago
0
2722
50.5 µs
tests/benchmarks/test_model_validation.py::test_simple_model_validation[__init__]created
10 months ago
, last acknowledgement
7 months ago
1
2722
37.5 µs
tests/benchmarks/test_model_validation.py::test_simple_model_validation[model_validate]created
10 months ago
, last acknowledgement
6 months ago
1
2722
39.5 µs
tests/benchmarks/test_north_star.py::test_north_star_dump_jsoncreated
2 years ago
, last run
6 days ago
0
5274
30.5 ms
tests/benchmarks/test_north_star.py::test_north_star_dump_pythoncreated
2 years ago
, last acknowledgement
5 months ago
1
5274
17.7 ms
tests/benchmarks/test_north_star.py::test_north_star_json_dumpscreated
2 years ago
, last run
6 days ago
0
5274
22.6 ms
tests/benchmarks/test_north_star.py::test_north_star_json_loadscreated
2 years ago
, last acknowledgement
1 year ago
1
5274
19.6 ms
tests/benchmarks/test_north_star.py::test_north_star_validate_jsoncreated
2 years ago
, last run
6 days ago
0
5274
39.6 ms
tests/benchmarks/test_north_star.py::test_north_star_validate_json_strictcreated
2 years ago
, last run
6 days ago
0
5274
39.5 ms
tests/benchmarks/test_north_star.py::test_north_star_validate_pythoncreated
2 years ago
, last acknowledgement
1 year ago
1
5274
39.4 ms
tests/benchmarks/test_north_star.py::test_north_star_validate_python_strictcreated
2 years ago
, last acknowledgement
5 months ago
2
5274
23.9 ms
© 2025 CodSpeed Technology
Home Terms Privacy Docs