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_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_core_python
tests/benchmarks/test_micro_benchmarks.py::TestModelLarge
CodSpeed Performance Gauge
+2%
128.2 µs125.7 µs
test_core_json_fs
tests/benchmarks/test_micro_benchmarks.py::TestModelLarge
CodSpeed Performance Gauge
+2%
175.2 µs172.3 µs
test_core_raw
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
+1%
14.1 µs13.9 µs
test_core_string_strict_wrong_str_e
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
39.8 µs39.3 µs
test_date_format
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
51.9 µs51.3 µs
test_bytes_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
13.5 µs13.3 µs
test_raise_error_custom
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
37.1 µs36.7 µs
test_raise_error_value_error
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
35.9 µs35.6 µs
test_definition_model_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
1.1 ms1.1 ms
test_multi_host_url_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
32.7 µs32.4 µs
test_generator_rust
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
18.6 µs18.4 µs
test_list_of_ints_core_py
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
521 µs516.9 µs
test_core_future_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
+1%
18.5 µs18.4 µs
test_core_python
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID
CodSpeed Performance Gauge
+1%
25.7 µs25.5 µs
test_many_models_core_model
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
2.2 ms2.2 ms
test_dict_of_any_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
707.7 µs704 µs
test_core_python
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
+1%
26.3 µs26.2 µs
test_positional_tuple
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
18.4 µs18.3 µs
test_tagged_union_int_keys_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
24.5 µs24.4 µ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
26 days ago
by gcomneno
-0.23%
Accept _use_prebuilt kwarg in SchemaValidator and SchemaSerializer
60b6efe
24 days ago
by gcomneno
+0.14%
Update benches for _use_prebuilt arg
54f74b9
24 days ago
by gcomneno
+0.06%
CI: install hypothesis for pydantic integration tests
a9250c1
24 days ago
by gcomneno
+0.03%
ci: install pytest-timeout and inline-snapshot in integration job
a5f35d4
24 days ago
by gcomneno
-0.11%
ci: limit llvm-cov concurrency to avoid EAGAIN on runners
5e8ee5c
24 days ago
by gcomneno
-0.22%
ci: use cargo llvm-cov report for codecov output
34ee496
24 days ago
by gcomneno
+0.42%
ci: adjust junit xml for codecov test-results parsing
a10c291
24 days ago
by gcomneno
© 2026 CodSpeed Technology
Home Terms Privacy Docs