pydantic
pydantic-core
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Fix serialization inference for `complex` types in `python`
#1549
Merged
Comparing
infer-complex-ser
(
a51f2e9
) with
main
(
1e5e899
)
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_isinstance_string_lax_false
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+8%
16.3 µs
15.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dataclass_to_json
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+2%
38.6 µs
37.9 µ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.4 µs
13.2 µ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_core_model_json
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
24.8 µs
24.5 µ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.3 µs
15.2 µ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
+1%
23.2 µs
23 µ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
+1%
18.5 µs
18.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_small_class_core_model
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
26.7 µs
26.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.4 µs
13.3 µ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.6 µs
13.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_generator_python
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
22.5 µs
22.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_string_lax_wrong
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
27.3 µs
27.1 µ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%
79.3 µs
78.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dataclass_serialization_json
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
24.4 µs
24.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_chain_nested_functions
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
28.1 µs
27.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.2 µ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.1 µs
16.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_uuid_from_uuid_pyd
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID
CodSpeed Performance Gauge
+1%
14.3 µs
14.2 µ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
+1%
28.5 µs
28.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_model_py
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
25.9 µs
25.7 µ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%
14.7 µ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
+1%
15.1 µs
15 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_uuid_from_string_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID
CodSpeed Performance Gauge
+1%
32.3 µs
32.1 µ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 µs
16.9 µs
1
2
...
7
Commits
Click on a commit to change the comparison range
Base
main
1e5e899
-0.01%
formatting
06e37fd
1 year ago
by sydney-runkle
+0.26%
fix tests, ser to string for json mode
a51f2e9
1 year ago
by sydney-runkle
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs