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
test_getter
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
-2%
18.2 µs18.7 µs
extract_str_extract_fail
pyo3-benches/benches/bench_extract.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
-2%
1.9 µs1.9 µs
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_empty_class_init
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
24.7 µs24.7 µ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_method_call
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
17.2 µs17.3 µs
test_static_method
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
17.6 µs17.6 µs
test_class_method
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
18.4 µs18.5 µ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
first_time_init
pyo3-benches/benches/bench_pyclass.rs::benches::bench_first_time_init
CodSpeed Performance Gauge
0%
42.1 µs42.2 µs
drop_many_objects_without_gil
pyo3-benches/benches/bench_py.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
48.1 µs48.1 µs
test_positional_only_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
14.4 µs14.4 µs
test_none_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
14.4 µs14.4 µs
test_method_call_py
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
14.9 µs14.9 µs

Commits

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