pydantic
pydantic-core
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Add unified tuple validator that can handle "variadic" tuples via PEP-646
#865
Merged
Comparing
variadic-tuple
(
1beadd8
) with
main
(
a1b934f
)
CodSpeed Performance Gauge
-1%
Improvement
1
Untouched
139
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
140 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_future
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
+11%
31.8 µs
28.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complete_core_isinstance
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+4%
1.9 ms
1.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complete_core_error
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+4%
1.9 ms
1.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_list_of_any_core_py
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+3%
104.5 µs
101.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_list_of_ints_core_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
1,011.5 µs
987.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_json_direct_list_int
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+2%
165.6 µs
162.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_model_list_core_json
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+2%
183 µs
180.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_isinstance_string_strict_true
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
14 µs
13.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dict_of_ints_core_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
2.5 ms
2.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complete_core_strict
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+1%
280.5 µs
277.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_decimal_from_string_pyd
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDecimal
CodSpeed Performance Gauge
+1%
34.8 µs
34.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_json_direct_list_str
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
176.3 µs
174.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_dict_filter
tests/benchmarks/test_serialization_micro.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
+1%
80.1 µs
79.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_json_any_list_int
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
269.2 µs
266.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_python_json_list_int
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
151.6 µs
150.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_set_of_ints_core_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
1.2 ms
1.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_datetime
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
29.7 µs
29.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dict_of_any_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
771 µs
765.3 µ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.6 µs
14.5 µ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.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_json_any_list_str
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
279.3 µs
277.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[json-many_small_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
16.6 µs
16.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_dict
tests/benchmarks/test_serialization_micro.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
+1%
78 µs
77.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complete_core_lax
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+1%
304.2 µs
302.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_model_instance_abc
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
0%
34.3 µs
34.2 µs
1
2
...
6
Commits
Click on a commit to change the comparison range
Base
main
a1b934f
-0.53%
Rework to use a single tuple schema that can express positional, variable, and variadic schemas
1beadd8
3 years ago
by dmontagu
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs