Avatar for the pydantic user
pydantic
pydantic
BlogDocsChangelog

Recommend against using `Ellipsis` (`...`) with `Field`

#10661Merged
Comparing
field-ellipsis
(
76cc978
) with
main
(
220b2f6
)
CodSpeed Performance Gauge
0%
Untouched
43
Ignored
2

Benchmarks

45 total
test_schema_build
tests/benchmarks/test_discriminated_unions.py
CodSpeed Performance Gauge
+2%
3.5 ms3.5 ms
test_simple_model_serialization
tests/benchmarks/test_model_serialization.py
CodSpeed Performance Gauge
+1%
34.6 µs34.2 µs
test_efficiency_with_highly_nested_examples
tests/benchmarks/test_discriminated_unions.py
CodSpeed Performance Gauge
+1%
958.5 µs948.7 µs
test_list_of_models_serialization
tests/benchmarks/test_model_serialization.py
CodSpeed Performance Gauge
+1%
63.6 µs63.2 µs
test_import_field
tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+1%
83 µs82.6 µs
test_nested_model_validation[model_validate]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
57.5 µs57.2 µs
test_model_json_serialization
tests/benchmarks/test_model_serialization.py
CodSpeed Performance Gauge
0%
65.9 µs65.7 µs
test_import_basemodel
tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
84 µs83.7 µs
test_isinstance_basemodel
tests/benchmarks/test_isinstance.py
CodSpeed Performance Gauge
0%
26.7 ms26.6 ms
test_construct_dataclass_schema
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
2.2 ms2.2 ms
test_list_of_models_validation[__init__]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
101.2 µs101 µs
test_model_validators_serializers
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_north_star_validate_python_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
29.3 ms29.3 ms
test_complex_model_serialization
tests/benchmarks/test_model_serialization.py
CodSpeed Performance Gauge
0%
62.3 µs62.2 µs
test_simple_model_validation[__init__]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
42.7 µs42.7 µs
test_north_star_dump_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
30.8 ms30.8 ms
test_north_star_validate_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
44 ms44 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_generics.py
CodSpeed Performance Gauge
0%
255.8 ms255.9 ms
test_nested_recursive_generic_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py
CodSpeed Performance Gauge
0%
2.3 ms2.3 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_simple.py
CodSpeed Performance Gauge
0%
31.6 ms31.6 ms
test_north_star_json_dumps
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
24.1 ms24.1 ms
test_north_star_validate_json_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
52.4 ms52.4 ms
test_list_of_models_validation[model_validate]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
100.3 µs100.3 µs
test_north_star_validate_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
52.6 ms52.6 ms
test_north_star_json_loads
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
21.9 ms21.9 ms

Commits

Click on a commit to change the comparison range
Base
main
220b2f6
-0.01%
Recommend against using `Ellipsis` (`...`) with `Field`
76cc978
1 year ago
by Viicos
© 2026 CodSpeed Technology
Home Terms Privacy Docs