pydantic
pydantic-core
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
optimizations in URL implementation
#1833
Merged
Comparing
dh/url-efficiency
(
8ebdd8f
) with
main
(
4d23017
)
CodSpeed Performance Gauge
0%
Untouched
163
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
163 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complete_core_isinstance
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
-3%
1.7 ms
1.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complete_core_error
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
-3%
1.7 ms
1.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_to_json_list_of_lists
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+2%
1.8 ms
1.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_python
tests/benchmarks/test_micro_benchmarks.py::TestModelLarge
CodSpeed Performance Gauge
+2%
129.1 µs
126.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_field_function_validator
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
348 µs
342.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_date_format_function
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+2%
52.6 µs
51.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_future
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX
CodSpeed Performance Gauge
+1%
18.1 µs
17.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_enum_int_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
14.7 µs
14.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_int_range
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
14.7 µs
14.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_json_fs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
-1%
105 µs
106.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_string_lax
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
13.7 µs
13.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_definition_model_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
1.1 ms
1.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_tagged_union_int_keys_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-1%
24.3 µs
24.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_date_format
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
-1%
51.4 µs
52.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_arguments
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
24.7 µs
24.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[python-many_large_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
15 µs
14.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_date_from_datetime
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX
CodSpeed Performance Gauge
+1%
22.1 µs
21.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[python-few_str_enum]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
15.2 µs
15.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_string_strict_wrong_str_e
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
40.3 µs
39.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_with_default
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-1%
22.4 µs
22.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bytes_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
13.6 µs
13.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[python-many_small_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-1%
14.8 µs
15 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_strict_union_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion
CodSpeed Performance Gauge
+1%
16.5 µs
16.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_string_strict
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
13.7 µs
13.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dont_raise_error_no_info
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-1%
17.1 µs
17.2 µs
1
2
3
4
5
6
7
Commits
Click on a commit to change the comparison range
Base
main
4d23017
+0.08%
optimizations in URL implementation
85cc156
10 months ago
by davidhewitt
-0.05%
Merge branch 'main' into dh/url-efficiency
8ebdd8f
9 months ago
by davidhewitt
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs