Avatar for the pydantic user
pydantic
pydantic
BlogDocsChangelog

Fix JSON schema title when specified as `''`

#10936Merged
Comparing
json-schema-blank-title-fix
(
8cf772f
) with
main
(
309d4ed
)
CodSpeed Performance Gauge
0%
Untouched
45
Ignored
2

Benchmarks

47 total
test_efficiency_with_highly_nested_examples
tests/benchmarks/test_discriminated_unions.py
CodSpeed Performance Gauge
0%
718.8 µs715.8 µs
test_complex_model_validation[model_validate]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
54 µs53.8 µs
test_nested_model_validation[__init__]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
57.3 µs57.2 µs
test_north_star_validate_json_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
53.2 ms53.1 ms
test_schema_build
tests/benchmarks/test_discriminated_unions.py
CodSpeed Performance Gauge
0%
3.3 ms3.3 ms
test_import_field
tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
25.4 µs25.4 µs
test_isinstance_basemodel
tests/benchmarks/test_isinstance.py
CodSpeed Performance Gauge
0%
26.6 ms26.6 ms
test_north_star_validate_json
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
53.4 ms53.4 ms
test_north_star_validate_python_strict
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
27.2 ms27.2 ms
test_generic_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 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%
94.3 µs94.2 µs
test_north_star_validate_python
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
45.1 ms45 ms
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_simple.py
CodSpeed Performance Gauge
0%
30.4 ms30.4 ms
test_north_star_json_loads
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
21.2 ms21.2 ms
test_tagged_union_with_callable_discriminator_schema_generation
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
test_list_of_models_validation[model_validate]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
91.5 µs91.5 µs
test_model_json_serialization
tests/benchmarks/test_model_serialization.py
CodSpeed Performance Gauge
0%
60.4 µs60.4 µs
test_model_validators_serializers
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
1 ms1 ms
test_simple_model_validation[__init__]
tests/benchmarks/test_model_validation.py
CodSpeed Performance Gauge
0%
40 µs40.1 µs
test_simple_recursive_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py
CodSpeed Performance Gauge
0%
857.9 µs858.4 µs
test_nested_recursive_generic_model_schema_generation
tests/benchmarks/test_model_schema_generation_recursive.py
CodSpeed Performance Gauge
0%
2.1 ms2.1 ms
test_north_star_json_dumps
tests/benchmarks/test_north_star.py
CodSpeed Performance Gauge
0%
23.4 ms23.4 ms
test_lots_of_models_with_lots_of_fields
tests/benchmarks/test_model_schema_generation.py
CodSpeed Performance Gauge
0%
3.3 s3.3 s
test_fastapi_startup_perf
tests/benchmarks/test_fastapi_startup_generics.py
CodSpeed Performance Gauge
0%
249.1 ms249.4 ms

Commits

Click on a commit to change the comparison range
Base
main
309d4ed
-0.27%
fix title, add test
8cf772f
1 year ago
by sydney-runkle
© 2026 CodSpeed Technology
Home Terms Privacy Docs