pydantic
pydantic-core
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Fix bug re `custom_init` on members of `Union`
#1076
Merged
Comparing
fix-error-for-custom-init
(
d48a9c7
) with
main
(
73b1184
)
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_small_class_core_model
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+12%
34.8 µs
31.2 µ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
+3%
32.5 µs
31.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_field_function_validator
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
404 µs
396.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[json-many_large_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
17.2 µs
17 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_chain_list
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
26.5 µs
26.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_many_models_core_model
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
3.2 ms
3.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_date_format_function
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+1%
53.2 µs
52.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[json-few_small_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
16.8 µs
16.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[json-few_large_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
17.1 µs
17 µ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.1 µs
50.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[json-many_ints]
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_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_isinstance_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
22.6 µs
22.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_tuple_many_positional
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
20.7 µs
20.5 µ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%
18.3 µs
18.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_future_str
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX
CodSpeed Performance Gauge
+1%
18.4 µs
18.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
+1%
16.8 µs
16.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_validate_literal[json-few_ints]
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_validate_literal[python-many_small_strings]
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
14.5 µs
14.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_chain_two_functions
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
29.6 µs
29.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_string_strict_wrong
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
26.3 µs
26.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_decimal_from_string_pyd
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDecimal
CodSpeed Performance Gauge
0%
34.5 µs
34.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_build_schema
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
0%
867.8 µs
863.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complete_core_isinstance
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
0%
1.9 ms
1.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_complete_core_error
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
0%
2 ms
2 ms
1
2
...
6
Commits
Click on a commit to change the comparison range
Base
main
73b1184
+0.02%
fixing issue with custom init and unions, adding appropriate test
478e38e
2 years ago
by sydney-runkle
+0.01%
linting
d48a9c7
2 years ago
by sydney-runkle
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs