PyO3
pyo3
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
fix(pymodule): improve safety of PyModule::from_code
#4777
Merged
Comparing
sxlijin:sam/pymodule-from-code-defaults
(
41e27ec
) with
main
(
cb22950
)
CodSpeed Performance Gauge
0%
Untouched
92
Ignored
19
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
Ignored
111 total
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.
bytes_new_medium
pyo3-benches/benches/bench_intopyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
1.6 µs
1.5 µ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.6 µs
1.6 µ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
+1%
11.8 µs
11.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_args_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
14.2 µs
14.1 µ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
+1%
3.7 µs
3.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_btreeset
pyo3-benches/benches/bench_set.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
15.9 ms
15.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_proto_call
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
13.5 µs
13.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_class_attribute
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
13.7 µs
13.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
dirty_acquire_gil
pyo3-benches/benches/bench_gil.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
5 µs
5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_float_extract_fail
pyo3-benches/benches/bench_extract.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
11.8 µs
11.7 µ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
0%
653.4 µs
650.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_positional_only_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
13.2 µs
13.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_with_typed_args_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
13.2 µs
13.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_static_method
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
15.3 µs
15.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
18.3 µs
18.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_bigint_extract_fail
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
11.8 µs
11.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
call_method
pyo3-benches/benches/bench_call.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
1.3 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_none_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
12.8 µs
12.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_empty_class_init_py
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
13.7 µs
13.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_args_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
17.5 µs
17.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
17 µs
16.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
enum_from_pyobject
pyo3-benches/benches/bench_frompyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
24.2 µs
24.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
call_0
pyo3-benches/benches/bench_call.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
191.6 µs
191.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
extract_btreemap
pyo3-benches/benches/bench_dict.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
37.2 ms
37.2 ms
1
2
3
4
5
Commits
Click on a commit to change the comparison range
Base
main
cb22950
-0.03%
add test + update examples
41e27ec
9 months ago
by Icxolu
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs