Avatar for the pydantic user
pydantic
pydantic-core
BlogDocsChangelog

Clarify MultiHostUrl behavior for Postgres DSN without host

#1903
Comparing
gcomneno:test/multihosturl-optional-host-378
(
a10c291
) with
main
(
383eb95
)
CodSpeed Performance Gauge
0%
Untouched
163

Benchmarks

163 total
test_set_of_ints_core_json_duplicates
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+13%
434.3 µs385.9 µs
test_many_models_core_dict
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+8%
1,004.3 µs933.3 µs
test_list_of_ints_core_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+6%
761.7 µs716.7 µs
test_list_of_strs_json_cached
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+6%
311.6 µs293.9 µs
test_complete_core_error
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
-4%
1.7 ms1.7 ms
test_set_of_ints_core_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+3%
870 µs842 µs
test_list_of_strs_json_uncached
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+3%
397.5 µs386.9 µs
test_validate_literal[json-many_large_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-2%
16.1 µs16.4 µs
test_field_function_validator
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-2%
331.2 µs338.5 µs
test_core_json_fs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
-2%
105.2 µs107.3 µs
test_core_python
tests/benchmarks/test_micro_benchmarks.py::TestModelLarge
CodSpeed Performance Gauge
+2%
128.2 µs125.7 µs
test_validate_literal[json-few_small_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-2%
15.8 µs16.1 µs
test_core_json_fs
tests/benchmarks/test_micro_benchmarks.py::TestModelLarge
CodSpeed Performance Gauge
+2%
175.2 µs172.3 µs
test_chain_nested_functions
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-2%
27.6 µs28.1 µs
test_validate_literal[json-few_ints]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-2%
15.4 µs15.6 µs
test_python_json_list_none
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
-1%
128.3 µs130.2 µs
test_validate_literal[json-many_small_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-1%
15.8 µs16.1 µs
test_core_raw
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
+1%
14.1 µs13.9 µs
test_chain_function
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-1%
23.8 µs24.1 µs
test_int_range_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-1%
15.5 µs15.7 µs
test_core_string_strict_wrong_str_e
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
39.8 µs39.3 µs
test_to_json_list_of_lists
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
-1%
1.7 ms1.7 ms
test_uuid
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
-1%
22.2 µs22.5 µs
test_date_from_date
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX
CodSpeed Performance Gauge
-1%
13.8 µs13.9 µs
test_validate_literal[json-few_large_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-1%
16 µs16.2 µs

Commits

Click on a commit to change the comparison range
Base
main
383eb95
-0.11%
tests: reproduce MultiHostUrl DSN with empty host (pydantic-core#378)
c51d8b8
6 months ago
by gcomneno
-0.23%
Accept _use_prebuilt kwarg in SchemaValidator and SchemaSerializer
60b6efe
6 months ago
by gcomneno
+0.14%
Update benches for _use_prebuilt arg
54f74b9
6 months ago
by gcomneno
+0.06%
CI: install hypothesis for pydantic integration tests
a9250c1
6 months ago
by gcomneno
+0.03%
ci: install pytest-timeout and inline-snapshot in integration job
a5f35d4
6 months ago
by gcomneno
-0.11%
ci: limit llvm-cov concurrency to avoid EAGAIN on runners
5e8ee5c
6 months ago
by gcomneno
-0.22%
ci: use cargo llvm-cov report for codecov output
34ee496
6 months ago
by gcomneno
+0.42%
ci: adjust junit xml for codecov test-results parsing
a10c291
6 months ago
by gcomneno
© 2026 CodSpeed Technology
Home Terms Privacy Docs