pydantic
pydantic-core
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
support multiple zeros as an int
#1269
Merged
Comparing
int-leading-zeros
(
bd8deb1
) with
main
(
031fc93
)
CodSpeed Performance Gauge
0%
Untouched
155
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
155 total
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
+4%
33.2 µs
31.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_model_json_extra
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+4%
30.7 µs
29.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dataclass_to_json
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+3%
39.9 µs
38.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_filter
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+2%
43.1 µs
42.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_python
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID
CodSpeed Performance Gauge
+2%
30.2 µs
29.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[python-few_ints]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
14.7 µs
14.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_int_error
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
40.4 µs
39.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[python-many_ints]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
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
+2%
14.7 µs
14.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[python-few_small_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
14.8 µs
14.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_isinstance_string_strict_false
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
15.2 µs
15 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_datetime
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+2%
27 µs
26.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_small_class_core_dict
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
19.3 µs
19 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_arguments
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
26 µs
25.6 µ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%
1.4 ms
1.4 ms
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
14.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complete_core_isinstance
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+1%
1.8 ms
1.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_with_default
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
22.1 µs
21.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complete_core_error
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+1%
1.8 ms
1.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[python-few_mixed]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
16.9 µs
16.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dont_raise_error
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
20.2 µs
20 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dataclass_serialization_python
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
23.4 µs
23.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_model_exclude_unset_false
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
29.4 µs
29.2 µ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.3 µs
15.2 µ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%
15.4 µs
15.3 µs
1
2
...
7
Commits
Click on a commit to change the comparison range
Base
main
031fc93
-0.05%
support multiple zeros as an int
6c7bfe3
2 years ago
by samuelcolvin
+0.28%
simplify slightly
dfb81b1
2 years ago
by samuelcolvin
+0.1%
simplify more prevent trailing underscore
bd8deb1
2 years ago
by samuelcolvin
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs