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
91
Ignored
19
Archived
1
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
Ignored
Archived
111 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ordered_richcmp
pyo3-benches/benches/bench_comparisons.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-4%
3.2 µs
3.4 µs
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_str_extract_fail
pyo3-benches/benches/bench_extract.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-2%
1.8 µs
1.8 µ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%
17.1 µs
17.3 µ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.
ordered_dunder_methods
pyo3-benches/benches/bench_comparisons.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-1%
3.3 µs
3.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_positional_only_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
-1%
13.3 µs
13.4 µ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.
clean_acquire_gil
pyo3-benches/benches/bench_gil.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-1%
3.5 µs
3.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_empty_class_init
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
-1%
21.5 µs
21.7 µ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.
tuple_nth
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-1%
4.2 µs
4.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
tuple_nth_back
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-1%
4.3 µs
4.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_class_method
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
-1%
17.4 µs
17.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_simple_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
-1%
17.7 µs
17.8 µs
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.
list_nth
pyo3-benches/benches/bench_list.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-1%
4.5 µs
4.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
list_nth_back
pyo3-benches/benches/bench_list.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-1%
4.6 µs
4.7 µ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
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
1 year ago
by Icxolu
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs