Avatar for the PyO3 user
PyO3
pyo3
BlogDocsChangelog

Opaque PyObject ABI support

#5807
Comparing
ngoldbaum:opaque-pyobject
(
861edd8
) with
main
(
962a535
)
CodSpeed Performance Gauge
0%
Untouched
105
Ignored
21
Skipped
1

Benchmarks

127 total
format_simple
pyo3-benches/benches/bench_pystring_from_fmt.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+11%
306.7 ns277.2 ns
format_complex
pyo3-benches/benches/bench_pystring_from_fmt.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+7%
7.1 µs6.7 µs
test_getter
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+4%
14.9 µs14.4 µs
critical_section_creation2
pyo3-benches/benches/bench_critical_sections.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+4%
835.8 ns806.7 ns
ordered_dunder_methods
pyo3-benches/benches/bench_comparisons.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+3%
2.7 µs2.6 µs
vec_bytes_from_py_bytes_medium
pyo3-benches/benches/bench_frompyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+3%
2.1 µs2 µs
decimal_via_extract
pyo3-benches/benches/bench_decimal.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
12.3 µs12 µs
ordered_richcmp
pyo3-benches/benches/bench_comparisons.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
2.7 µs2.6 µs
vec_bytes_from_py_bytearray_medium
pyo3-benches/benches/bench_frompyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
2.8 µs2.8 µs
extract_bigint_big_negative
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
3.9 µs3.9 µs
extract_int_extract_fail
pyo3-benches/benches/bench_extract.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
8.6 µs8.5 µs
test_simple_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
14.8 µs14.6 µs
extract_bigint_big_positive
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
3.6 µs3.6 µs
vec_into_pyobject
pyo3-benches/benches/bench_intopyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
2.7 µs2.7 µs
test_static_method
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
13.8 µs13.7 µs
list_nth_back
pyo3-benches/benches/bench_list.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
8.6 µs8.5 µs
first_time_init
pyo3-benches/benches/bench_pyclass.rs::benches::bench_first_time_init
CodSpeed Performance Gauge
+1%
41.5 µs41.1 µs
test_none_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
10.4 µs10.3 µs
extract_bigint_huge_negative
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
13.6 µs13.5 µs
list_nth
pyo3-benches/benches/bench_list.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
8.5 µs8.4 µs
test_args_kwargs_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
11.8 µs11.7 µs
enum_from_pyobject
pyo3-benches/benches/bench_frompyobject.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
20.3 µs20.2 µs
extract_bigint_huge_positive
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
11.5 µs11.4 µs
extract_bigint_extract_fail
pyo3-benches/benches/bench_bigint.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
8.8 µs8.7 µs
test_many_keyword_arguments_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
15.4 µs15.3 µs

Commits

Click on a commit to change the comparison range
Base
main
962a535
+0.42%
Fix doctest on _Py_OPAQUE_PYOBJECT builds
1970421
2 months ago
by ngoldbaum
+0.03%
mark BaseWithoutData as subclassable
c0805a9
2 months ago
by ngoldbaum
-0.54%
relax assert for Windows
719cef5
2 months ago
by ngoldbaum
+0.31%
Make PyAny a PyVarObject only on the opaque PyObject build
072ef0a
2 months ago
by ngoldbaum
-16.41%
fix buggy assertion
ed48e75
1 month ago
by ngoldbaum
+16.13%
fix test
d38c274
29 days ago
by ngoldbaum
+0.11%
fix ruff
b596885
24 days ago
by ngoldbaum
-0.14%
fix incorrect conditional compilation guargs
22a5332
24 days ago
by ngoldbaum
-0.05%
attempt to fix semver-checks
101949c
24 days ago
by ngoldbaum
+58.28%
fix test-version-limits
828afdd
24 days ago
by ngoldbaum
+0.42%
fix ruff
a2584f5
24 days ago
by ngoldbaum
-0.42%
add comment
2f755ae
24 days ago
by ngoldbaum
-58.15%
Merge branch 'main' into opaque-pyobject
f326c74
18 days ago
by ngoldbaum
+0.15%
use correct windows library name for abi3t
710e835
16 days ago
by ngoldbaum
-0.03%
try to fix linking
861edd8
16 days ago
by ngoldbaum
© 2026 CodSpeed Technology
Home Terms Privacy Docs