pydantic
pydantic-core
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Fix float serialization behavior in strict mode
#1400
Merged
Comparing
float-ser-fix
(
96e84d3
) with
main
(
fd81a75
)
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_to_string_direct
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+6%
19.5 µs
18.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_chain_function
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+4%
24.9 µs
23.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_decimal_from_string_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDecimal
CodSpeed Performance Gauge
+4%
23.6 µs
22.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_chain_two_functions
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+4%
28.6 µs
27.6 µ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
+3%
14.9 µs
14.6 µ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
+2%
14.9 µs
14.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[python-few_large_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
14.9 µs
14.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_enum_int_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
15.6 µs
15.4 µ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
+1%
14.6 µs
14.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_enum_str_core
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_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_ints]
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_uuid_from_uuid_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID
CodSpeed Performance Gauge
+1%
13.9 µs
13.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_date_from_date
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX
CodSpeed Performance Gauge
+1%
14.1 µs
14 µ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
+1%
14.7 µs
14.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[json-many_ints]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
15.5 µs
15.3 µs
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
+1%
1.7 ms
1.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[json-many_large_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
16.1 µs
16 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_int_range_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
15.6 µs
15.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_python_fs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
+1%
74.7 µs
74.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_enum_int_python
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
24.3 µs
24.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_tagged_union_int_keys_python
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
21.5 µs
21.4 µ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 µs
17.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_strict_union_error_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion
CodSpeed Performance Gauge
+1%
32.3 µs
32.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_enum_str_python
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
23.9 µs
23.8 µs
1
2
...
7
Commits
Click on a commit to change the comparison range
Base
main
fd81a75
-0.42%
float | int should ser ints as ints
a3a3eb2
2 years ago
by sydney-runkle
+0.49%
adding ser test
ed05d79
2 years ago
by sydney-runkle
+0.02%
Merge branch 'main' into float-ser-fix
96e84d3
2 years ago
by sydney-runkle
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs