pydantic
pydantic-core
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
fix: nan inf float
#1062
Merged
Comparing
dh/ser-nan-inf-float
(
c62b637
) with
main
(
cb47b96
)
CodSpeed Performance Gauge
0%
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_dont_raise_error_no_info
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+11%
19.3 µs
17.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_decimal_from_string_limit
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDecimal
CodSpeed Performance Gauge
+4%
18 µs
17.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
+3%
22.6 µs
22 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_model_instance_abc
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
34.1 µs
33.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[json-few_mixed]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
22.8 µs
22.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_definition_model_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
920.2 µs
900 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_python
tests/benchmarks/test_micro_benchmarks.py::TestModelLarge
CodSpeed Performance Gauge
+2%
140.7 µs
137.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_isinstance_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
24.1 µs
23.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_raise_error_value_error
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
38 µs
37.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_arguments
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
28 µs
27.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_json_fs
tests/benchmarks/test_micro_benchmarks.py::TestModelLarge
CodSpeed Performance Gauge
+2%
220 µs
216.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_uuid_from_string_pyd
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID
CodSpeed Performance Gauge
+2%
51.2 µs
50.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_model_instance
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
32.6 µs
32.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_smart_union_coerce_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion
CodSpeed Performance Gauge
+1%
17 µs
16.8 µ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.4 µs
14.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_date_from_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX
CodSpeed Performance Gauge
+1%
20.5 µs
20.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_date_format_function_no_info
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
51.8 µs
51.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_filter
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
46 µs
45.5 µ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.9 ms
1.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_root_model
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
42 µs
41.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_python_json_list_none
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
130.3 µs
129.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_generator_python
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
27.2 µs
27 µ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.9 µs
51.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_uuid
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
40.7 µs
40.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bool_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
23.7 µs
23.5 µs
1
2
...
6
Commits
Click on a commit to change the comparison range
Base
main
cb47b96
-0.01%
add `ser_json_inf_nan` setting
c62b637
2 years ago
by davidhewitt
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs