pydantic
pydantic-core
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Fix typehint of discriminator for tagged_union_schema
#827
Merged
Comparing
tagged-union-type-hint
(
319d39a
) with
main
(
ce34622
)
CodSpeed Performance Gauge
0%
Untouched
135
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
135 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_list_of_any_core_py
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+4%
99.9 µs
95.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_list_of_ints_core_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+3%
1.4 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complete_core_error
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+2%
1.7 ms
1.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_set_of_ints_core_json_duplicates
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
1.2 ms
1.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_date_format
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+2%
47.8 µs
47 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_string_strict_wrong_str_e
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
42.1 µs
41.4 µ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
+2%
20.3 µs
20 µ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%
48.8 µs
48.1 µs
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%
1.6 ms
1.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_int_error
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
41.5 µs
41 µ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
+1%
27.5 µs
27.2 µ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%
17.4 µs
17.3 µ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%
50.1 µs
49.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_int_range
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
11.8 µs
11.7 µ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%
29.5 µs
29.2 µ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
+1%
30.3 µs
30 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_python
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
+1%
26.6 µs
26.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_arguments
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
23.2 µs
23.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_strict_union_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion
CodSpeed Performance Gauge
+1%
14.3 µs
14.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complete_core_lax
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+1%
364.5 µs
362.4 µ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.6 µs
28.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_root_model
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
40.6 µs
40.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dont_raise_error
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
17.2 µs
17.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_to_string_direct
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
0%
18.1 µs
18 µ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
0%
12.8 µs
12.8 µs
1
2
3
4
5
6
Commits
Click on a commit to change the comparison range
Base
main
ce34622
-0.24%
Fix typehint of discriminator for tagged_union_schema
319d39a
3 years ago
by dmontagu
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs