Avatar for the PyO3 user
PyO3
pyo3
BlogDocsChangelog

Make the ffi crate `no_std`

#6022Merged
Comparing
Person-93:no_std_ffi
(
ee47c67
) with
main
(
e742ed2
)
CodSpeed Performance Gauge
0%
Untouched
125
Ignored
21

Benchmarks

146 total
critical_section_creation
pyo3-benches/benches/bench_critical_sections.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+4%
704.2 ns675 ns
extract_bigint_small
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
2.7 µs2.7 µs
tuple_into_pyobject
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
2.7 µs2.7 µs
extract_bigint_big_positive
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
3.7 µs3.6 µs
extract_bigint_big_negative
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
3.9 µs3.9 µs
bench_pyclass_create
pyo3-benches/benches/bench_pyclass.rs::benches::bench_pyclass
CodSpeed Performance Gauge
+1%
4.1 µs4.1 µs
test_many_keyword_arguments_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
20.3 µs20.3 µs
test_none_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
13.4 µs13.4 µs
decimal_via_extract
pyo3-benches/benches/bench_decimal.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
13.9 µs13.8 µs
test_empty_class_init_py
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
14.4 µs14.4 µs
test_static_method
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
17.6 µs17.6 µs
test_proto_call_py
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
15.3 µs15.3 µs
test_class_attribute
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
16 µs16 µs
test_args_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
18.7 µs18.6 µs
test_many_keyword_arguments_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
19.3 µs19.3 µs
drop_many_objects_without_gil
pyo3-benches/benches/bench_py.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
48.1 µs48.1 µs
extract_hashset
pyo3-benches/benches/bench_set.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
23.9 ms23.9 ms
extract_hashmap
pyo3-benches/benches/bench_dict.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
26.3 ms26.3 ms
test_simple_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
18 µs18 µs
tuple_to_list
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
tuple_new
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
4.4 ms4.4 ms
tuple_get_borrowed_item
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
3.7 ms3.7 ms
tuple_get_item
pyo3-benches/benches/bench_tuple.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
4.3 ms4.3 ms
extract_i128_zero
pyo3-benches/benches/bench_int128.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
1.3 µs1.3 µs
identify_object_type
pyo3-benches/benches/bench_any.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
17.3 µs17.3 µs

Commits

Click on a commit to change the comparison range
Base
main
e742ed2
+0.09%
conditionally include `std` in the ffi crate
f33c321
22 days ago
by Person-93
-0.1%
Update newsfragments/6022.added.md
28f84be
20 days ago
by Person-93
-0.01%
fix bad import from core
5768e8f
20 days ago
by Person-93
+0.07%
fix use of `std` in `Py_REF_DEBUG` build
ee47c67
20 days ago
by davidhewitt
© 2026 CodSpeed Technology
Home Terms Privacy Docs