Avatar for the pydantic user
pydantic
pydantic-core
BlogDocsChangelog

wip test PyO3 HEAD

#1450Closed
Comparing
dh/pyo3-0.23
(
5e6b595
) with
main
(
6472887
)
CodSpeed Performance Gauge
-25%
Improvement
1
Regression
6
Untouched
148

Benchmarks

155 total
test_enum_str_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-25%
14.8 µs19.7 µs
test_enum_int_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-24%
15.2 µs20.2 µs
test_to_json_list_of_lists
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
-15%
1.7 ms2 ms
test_json_any_list_int
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
-12%
195.3 µs222.7 µs
test_field_function_validator
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
-11%
365.6 µs411 µs
test_json_any_list_str
tests/benchmarks/test_serialization_micro.py
CodSpeed Performance Gauge
-11%
227.3 µs255.3 µs
test_set_of_ints_core_duplicates
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+11%
352.7 µs316.7 µs
test_nested_schema_using_defs
tests/benchmarks/test_nested_benchmark.py
CodSpeed Performance Gauge
+6%
15.5 ms14.6 ms
test_nested_schema_inlined
tests/benchmarks/test_nested_benchmark.py
CodSpeed Performance Gauge
+6%
16.1 ms15.2 ms
test_many_models_core_model
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+6%
2.5 ms2.3 ms
test_definition_model_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+4%
1.1 ms1 ms
test_set_of_ints_core_json_duplicates
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+4%
438.3 µs421.9 µs
test_core_python
tests/benchmarks/test_micro_benchmarks.py::TestBenchmarkUUID
CodSpeed Performance Gauge
+4%
26.7 µs25.8 µs
test_dict_of_any_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+3%
714.9 µs697.2 µs
test_many_models_core_dict
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
959.8 µs937 µs
test_dict_of_ints_core_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
1.5 ms1.4 ms
test_set_of_ints_core_json
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
891.1 µs874.2 µs
test_set_of_ints_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
721.3 µs708.7 µs
test_complete_core_serializer_to_python
tests/benchmarks/test_complete_benchmark.py
CodSpeed Performance Gauge
+2%
260.3 µs255.9 µs
test_set_of_ints_core_length
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
734 µs722.8 µs
test_with_default
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+2%
22.5 µs22.2 µs
test_list_of_dict_models_core
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
91.5 µs90.4 µs
test_core_dict
tests/benchmarks/test_serialization_micro.py::TestBenchmarkSimpleModel
CodSpeed Performance Gauge
+1%
73.2 µs72.3 µs
test_arguments
tests/benchmarks/test_micro_benchmarks.py
CodSpeed Performance Gauge
+1%
22.4 µs22.2 µs
test_core_python
tests/benchmarks/test_micro_benchmarks.py::TestModelLarge
CodSpeed Performance Gauge
+1%
128.9 µs127.9 µs

Commits

Click on a commit to change the comparison range
Base
main
6472887
-16.34%
ignore wildcard_imports warning for now
1965df6
1 year ago
by davidhewitt
-8.84%
move `Input` trait off `ToPyObject`
5e6b595
1 year ago
by davidhewitt
© 2026 CodSpeed Technology
Home Terms Privacy Docs