pydantic
pydantic-core
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
try pyo3 branch without lazy errors
#1675
Closed
Comparing
dh/try-pyo3-eager-err
(
0ee4df2
) with
main
(
6c936de
)
CodSpeed Performance Gauge
-11%
Improvement
2
Regression
1
Untouched
154
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Improvement
Untouched
157 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_raise_error_value_error
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-11%
36.8 µs
41.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_ser_list_of_lists
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+11%
1.4 ms
1.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_json_direct_list_int
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+10%
147.8 µs
134.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_field_function_validator
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+10%
407.3 µs
371 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_model_list_core_json
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+9%
167.4 µs
153 µ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
+8%
2 ms
1.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_json_direct_list_str
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+8%
176.1 µs
163.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_list_of_strs_py_cached
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+6%
131.4 µs
123.5 µ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
+6%
2.3 ms
2.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_smart_union_core
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUnion
CodSpeed Performance Gauge
+6%
16.5 µs
15.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_json_any_list_int
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+6%
224.2 µs
212.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_python_json_list_none
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+6%
117 µs
110.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_raise_error_custom
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+6%
38.2 µs
36.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_bool_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+5%
23.9 µs
22.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_json_any_list_str
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
+5%
257.7 µs
245 µ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
+5%
18.2 µs
17.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_strict_int_fails
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+5%
26.9 µs
25.6 µ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
+5%
15.2 µs
14.5 µ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
+5%
26.8 µs
25.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_definition_in_tree
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+5%
785.7 µs
751.2 µ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
+5%
27.1 µs
25.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_positional_tuple
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+5%
19.1 µs
18.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
+5%
15.1 µs
14.4 µ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
+5%
33.1 µs
31.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_model_instance
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+4%
29.2 µs
27.9 µs
1
2
3
4
5
6
7
Commits
Click on a commit to change the comparison range
Base
main
6c936de
-11.3%
try pyo3 branch without lazy errors
0ee4df2
1 year ago
by davidhewitt
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs