pydantic
pydantic-core
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
add `polymorphic_serialization` for models and dataclasses
#1881
Closed
Comparing
dh/polymorphic-serialization
(
f4fc147
) with
main
(
20d576b
)
CodSpeed Performance Gauge
0%
Untouched
163
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
163 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_list_of_strs_json_uncached
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+3%
401 µs
387.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_json_fs
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
+2%
107.9 µs
105.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_tagged_union_int_keys_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
24.7 µs
24.3 µ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
+1%
176 µs
173.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.5 µs
14.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_isinstance_string_lax_true
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
13.8 µs
13.6 µ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.8 ms
1.7 ms
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.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
+1%
18.8 µs
18.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_model_core_json
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID
CodSpeed Performance Gauge
+1%
41.1 µs
40.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_positional_tuple
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
18.4 µs
18.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_arguments
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
24.5 µs
24.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_model_core_json
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
+1%
30 µs
29.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_filter
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
40.9 µs
40.5 µ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.5 µs
13.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.6 µs
13.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.7 µs
13.6 µ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%
13.8 µs
13.7 µ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_many_models_core_dict
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
1 ms
1 ms
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%
873.1 µs
866.2 µ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_chain_function
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
24.1 µs
23.9 µ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
+1%
14.7 µs
14.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complete_core_root_json
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+1%
431.8 µs
428.6 µs
1
2
...
7
Commits
Click on a commit to change the comparison range
Base
main
20d576b
-0.22%
test when `config` not set
9d0079b
4 months ago
by davidhewitt
+0.05%
lint fixes
9d9cc75
4 months ago
by davidhewitt
+0.19%
test fixes
53da883
4 months ago
by davidhewitt
-0.06%
fix rust tests
f4fc147
4 months ago
by davidhewitt
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs