Avatar for the PyO3 user
PyO3
pyo3
BlogDocsChangelog

Opaque PyObject ABI support

#5807
Comparing
ngoldbaum:opaque-pyobject
(
5502313
) with
main
(
2187c7e
)
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
+3%
15.5 µs15.1 µs
ordered_dunder_methods
pyo3-benches/benches/bench_comparisons.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+2%
2.7 µs2.6 µs
ordered_richcmp
pyo3-benches/benches/bench_comparisons.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
+1%
2.7 µs2.6 µ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.7 µ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 µs
test_method_call
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
14.2 µs14.1 µs
test_positional_only_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
10.3 µs10.2 µs
test_empty_class_init
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
+1%
16 µs15.9 µs
test_many_keyword_arguments_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
+1%
16.8 µs16.7 µs
test_args_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
15.1 µs15 µs
test_none_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
10.3 µs10.3 µs
test_with_typed_args_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
10.6 µs10.5 µs
test_positional_only_rs
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
10.8 µs10.8 µs
test_method_call_py
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
10.9 µs10.8 µs
test_proto_call_py
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
11.7 µs11.7 µs
test_class_attribute
pytests/tests/test_pyclasses.py
CodSpeed Performance Gauge
0%
12.6 µs12.6 µs
test_simple_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
13.5 µs13.5 µs
decimal_via_extract
pyo3-benches/benches/bench_decimal.rs::benches::criterion_benchmark
CodSpeed Performance Gauge
0%
13.7 µs13.7 µs
test_simple_args_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
13.8 µs13.8 µs
test_simple_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
16.4 µs16.4 µs
test_simple_args_kwargs_py
pytests/tests/test_pyfunctions.py
CodSpeed Performance Gauge
0%
17.1 µs17.1 µs

Commits

Click on a commit to change the comparison range
Base
main
2187c7e
+0.42%
Fix doctest on _Py_OPAQUE_PYOBJECT builds
1970421
3 months ago
by ngoldbaum
+0.03%
mark BaseWithoutData as subclassable
c0805a9
3 months ago
by ngoldbaum
-0.54%
relax assert for Windows
719cef5
3 months ago
by ngoldbaum
+0.31%
Make PyAny a PyVarObject only on the opaque PyObject build
072ef0a
3 months ago
by ngoldbaum
-16.41%
fix buggy assertion
ed48e75
2 months ago
by ngoldbaum
+16.13%
fix test
d38c274
2 months ago
by ngoldbaum
+0.11%
fix ruff
b596885
2 months ago
by ngoldbaum
-0.14%
fix incorrect conditional compilation guargs
22a5332
2 months ago
by ngoldbaum
-0.05%
attempt to fix semver-checks
101949c
2 months ago
by ngoldbaum
+58.28%
fix test-version-limits
828afdd
2 months ago
by ngoldbaum
+0.42%
fix ruff
a2584f5
2 months ago
by ngoldbaum
-0.42%
add comment
2f755ae
2 months ago
by ngoldbaum
-58.15%
Merge branch 'main' into opaque-pyobject
f326c74
1 month ago
by ngoldbaum
+0.15%
use correct windows library name for abi3t
710e835
1 month ago
by ngoldbaum
-0.03%
try to fix linking
861edd8
1 month ago
by ngoldbaum
+13.59%
Merge branch 'pep-820' into opaque-pyobject
4dba451
19 days ago
by ngoldbaum
0%
fix cfg gating
107ab27
19 days ago
by ngoldbaum
0%
activate abi3t builds
5334eaa
18 days ago
by ngoldbaum
-13.62%
fix ruff
52124f8
15 days ago
by ngoldbaum
+0.07%
adjust PyMutex cfg gating
1aea9b0
15 days ago
by ngoldbaum
-0.01%
attempt to fix abi3 feature for free-threaded targets from a config file
4bb2202
15 days ago
by ngoldbaum
-0.1%
Merge remote-tracking branch 'origin/main' into opaque-pyobject
0709d59
14 days ago
by davidhewitt
+0.09%
fix incorrect merge conflict resolution
f8aa9a5
14 days ago
by ngoldbaum
-0.05%
revert more unnecessary changes
53014c0
14 days ago
by ngoldbaum
-0.01%
fix cfg gating for critical section guards
d9ade28
14 days ago
by ngoldbaum
+0.02%
Merging with David's default_lib_name_for_config_file branch
0e4d6d8
12 days ago
by ngoldbaum
+0.04%
really fix ruff
dd200da
12 days ago
by ngoldbaum
+0.01%
fix guide formatting
6214c3d
11 days ago
by ngoldbaum
0%
fix typo in noxfile
303877a
11 days ago
by ngoldbaum
-0.08%
revert now-unnecessary CI configuration change
335fa8a
10 days ago
by ngoldbaum
+0.02%
fix typos in comments
68ffca0
8 days ago
by ngoldbaum
+0.02%
make get_host_interpreter accept explicit abi3_version and abi3t_version arguments
f9b50b7
1 day ago
by ngoldbaum
+0.02%
never use an abi3 version on the free-threaded build
6419422
3 hours ago
by ngoldbaum
+0.01%
version-gate build-config test
fd01447
3 hours ago
by ngoldbaum
+0.01%
further gate test
abaf0e0
2 hours ago
by ngoldbaum
+0.01%
fix incorrect version gate
e6d31b9
54 minutes ago
by ngoldbaum
0%
further gate test onolder python versions
5502313
36 minutes ago
by ngoldbaum
© 2026 CodSpeed Technology
Home Terms Privacy Docs