Avatar for the PyO3 user
PyO3
pyo3
BlogDocsChangelog

ci: expand pyclass benchmarks

#5816
Comparing
ngoldbaum:pyclass-bench
(
48537e6
) with
main
(
46c16e4
)
CodSpeed Performance Gauge
+1%
Untouched
99
New
4
Ignored
21
Skipped
1

Benchmarks

125 total
bench_call
pyo3-benches/benches/bench_pyclass.rs::benches::bench_pyclass
CodSpeed Performance Gauge
N/A
N/A5.7 µs
first_time_init
pyo3-benches/benches/bench_pyclass.rs::benches::bench_first_time_init
CodSpeed Performance Gauge
N/A
N/A40.3 µs
bench_str
pyo3-benches/benches/bench_pyclass.rs::benches::bench_pyclass
CodSpeed Performance Gauge
N/A
N/A3.6 µs
bench_pyclass_create
pyo3-benches/benches/bench_pyclass.rs::benches::bench_pyclass
CodSpeed Performance Gauge
N/A
N/A3.8 µs
format_simple
pyo3-benches/benches/bench_pystring_from_fmt.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+9%
368.6 ns339.4 ns
list_new
pyo3-benches/benches/bench_list.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+7%
4 ms3.7 ms
tuple_new
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+7%
4 ms3.7 ms
test_simple_args_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+3%
14.7 µs14.3 µs
call_method_1
pyo3-benches/benches/bench_call.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+3%
708.4 µs688.8 µs
dict_new
pyo3-benches/benches/bench_dict.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+3%
20.4 ms19.9 ms
test_static_method
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+3%
13.8 µs13.5 µs
err_new_without_gil
pyo3-benches/benches/bench_err.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
1.3 µs1.2 µs
test_class_method
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+2%
14.4 µs14.1 µs
tuple_into_pyobject
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
2.6 µs2.5 µs
test_many_keyword_arguments_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+2%
17.4 µs17 µs
test_proto_call
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+2%
10.9 µs10.7 µs
dict_get_item
pyo3-benches/benches/bench_dict.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
15.3 ms15 ms
test_many_keyword_arguments_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+2%
15.3 µs15.1 µs
test_none_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+2%
10.4 µs10.2 µs
test_class_attribute
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+2%
12.2 µs12 µs
test_positional_only_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+2%
10.7 µs10.5 µs
test_none_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+2%
11.2 µs11 µs
test_proto_call_py
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+2%
11.5 µs11.3 µs
extract_str_extract_fail
pyo3-benches/benches/bench_extract.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
2 µs2 µs
test_method_call
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
13.3 µs13.2 µs

Commits

Click on a commit to change the comparison range
Base
main
46c16e4
+0.65%
fix resource issue in bench_str
48537e6
6 hours ago
by ngoldbaum
© 2026 CodSpeed Technology
Home Terms Privacy Docs