pydantic
pydantic-core
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
wip test PyO3 HEAD
#1450
Closed
Comparing
dh/pyo3-0.23
(
5e6b595
) with
main
(
6472887
)
CodSpeed Performance Gauge
-25%
Improvement
1
Regression
6
Untouched
148
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Improvement
Untouched
155 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_enum_str_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-25%
14.8 µs
19.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_enum_int_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-24%
15.2 µs
20.2 µ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
-15%
1.7 ms
2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_json_any_list_int
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
-12%
195.3 µs
222.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_field_function_validator
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-11%
365.6 µs
411 µ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
-11%
227.3 µs
255.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_set_of_ints_core_duplicates
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+11%
352.7 µs
316.7 µ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
-10%
1.2 ms
1.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_raise_error_value_error
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-9%
36.2 µs
39.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_json_direct_list_int
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
-8%
133.7 µs
146 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_raise_error_custom
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-7%
37.1 µs
40.1 µ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
-7%
153.2 µs
165.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_dataclass_to_json
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
-7%
38.5 µs
41.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_json_direct_list_str
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
-7%
161.6 µs
173.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_core_future
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateTime
CodSpeed Performance Gauge
-7%
25.7 µs
27.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_date_from_datetime
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkDateX
CodSpeed Performance Gauge
-7%
21.4 µs
23 µ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
-7%
121.2 µs
130.2 µ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
-7%
122.9 µs
131.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_nested_schema_using_defs
tests/benchmarks/test_nested_benchmark.py
CodSpeed Performance Gauge
+6%
15.5 ms
14.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_definition_in_tree
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-6%
738.6 µs
784.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_nested_schema_inlined
tests/benchmarks/test_nested_benchmark.py
CodSpeed Performance Gauge
+6%
16.1 ms
15.2 ms
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.5 ms
2.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_python_json_list_int
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
-5%
148.2 µs
156.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_python_json_list_str
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
-5%
154.9 µs
163.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_definition_out_of_tree
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-5%
1 ms
1.1 ms
1
2
3
4
5
6
7
Commits
Click on a commit to change the comparison range
Base
main
6472887
-16.34%
ignore wildcard_imports warning for now
1965df6
2 years ago
by davidhewitt
-8.84%
move `Input` trait off `ToPyObject`
5e6b595
2 years ago
by davidhewitt
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs