pydantic
pydantic-core
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Support subclasses in lists in `Union` of `List` types
#1039
Merged
Comparing
fix-union-issues
(
2e4ca16
) with
main
(
866eb2d
)
CodSpeed Performance Gauge
-24%
Regression
1
Untouched
139
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Untouched
140 total
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
-24%
32.9 µs
43.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[json-many_small_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+8%
17.3 µs
16 µ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
+7%
31 µs
29.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_generator_rust
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+5%
22 µs
20.9 µ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
+3%
38.8 µs
37.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_to_string_format
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+3%
27.3 µs
26.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_model_py_extra
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+2%
34.1 µs
33.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complete_core_strict
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+2%
282.8 µs
277.5 µ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%
23.1 µs
22.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_chain_two_functions
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
32.1 µs
31.6 µ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.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_model_exclude_unset_true
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+2%
39.3 µs
38.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
+2%
22.6 µs
22.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_python
tests/benchmarks/test_micro_benchmarks.py::TestModelLarge
CodSpeed Performance Gauge
+1%
139.9 µs
138 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_uuid
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
40.3 µs
39.8 µ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%
20.3 µs
20.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_date_format_function
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
52.5 µs
52 µ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%
33.5 µs
33.2 µ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.8 µs
51.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_model_instance_abc
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
33.4 µs
33.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_int_error
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
52.4 µs
52 µ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%
43.8 µs
43.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_smart_union_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion
CodSpeed Performance Gauge
+1%
15.5 µs
15.4 µ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%
2.1 ms
2.1 ms
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
1
2
...
6
Commits
Click on a commit to change the comparison range
Base
main
866eb2d
-24.08%
omg, I think this actually fixed the problem
2e4ca16
2 years ago
by sydney-runkle
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs