PyO3
pyo3
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
use `PyErr_SetRaisedException` in `raise_lazy`
#5876
Comparing
bschoenmaeckers:update_raise_lazy
(
ea0d2f9
) with
main
(
1d26e82
)
CodSpeed Performance Gauge
0%
Untouched
105
Ignored
21
Skipped
1
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
Ignored
Skipped
127 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
err_new_without_gil
pyo3-benches/benches/bench_err.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+5%
1.2 µs
1.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
critical_section_creation
pyo3-benches/benches/bench_critical_sections.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+4%
703.1 ns
673.9 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
critical_section_creation2
pyo3-benches/benches/bench_critical_sections.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+4%
859.7 ns
830.6 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_bigint_small
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+3%
2.7 µs
2.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
call_method_1
pyo3-benches/benches/bench_call.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+3%
708.2 µs
686.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
call_method_0
pyo3-benches/benches/bench_call.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+3%
606.8 µs
588.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
clean_attach
pyo3-benches/benches/bench_attach.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+3%
2.1 µs
2.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_bigint_big_negative
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
3.9 µs
3.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
byte_slice_into_pyobject_medium
pyo3-benches/benches/bench_intopyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
1.5 µs
1.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_bigint_big_positive
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
3.6 µs
3.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_str_extract_fail
pyo3-benches/benches/bench_extract.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
2 µs
2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_setter
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
14.1 µs
13.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
err_new_restore_and_fetch
pyo3-benches/benches/bench_err.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
6.6 µs
6.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_bigint_huge_positive
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
11.4 µs
11.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_with_typed_args_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
14.8 µs
14.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bench_pyclass_create
pyo3-benches/benches/bench_pyclass.rs::benches::bench_pyclass
CodSpeed Performance Gauge
+1%
3.8 µs
3.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_bigint_huge_negative
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
13.5 µs
13.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
first_time_init
pyo3-benches/benches/bench_pyclass.rs::benches::bench_first_time_init
CodSpeed Performance Gauge
+1%
41.2 µs
41 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_many_keyword_arguments_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
15.4 µs
15.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
decimal_via_extract
pyo3-benches/benches/bench_decimal.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
11.9 µs
11.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
13.7 µs
13.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
15.5 µs
15.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_args_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
16.1 µs
16 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_int_extract_fail
pyo3-benches/benches/bench_extract.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
8.5 µs
8.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
list_nth
pyo3-benches/benches/bench_list.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
8.6 µs
8.6 µs
1
2
3
4
5
6
Commits
Click on a commit to change the comparison range
Base
main
1d26e82
-0.07%
use `PyErr_SetRaisedException` in `raise_lazy`
b727b3d
17 hours ago
by bschoenmaeckers
+0.02%
Add context test
ea0d2f9
12 hours ago
by bschoenmaeckers
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs