Avatar for the RustPython user
RustPython
RustPython
BlogDocsChangelog

feat(capi): implement Limited API buffer protocol and Py_buffer

#8932
Comparing
krosci:feat/capi-buffer-protocol
(
59e630c
) with
main
(
112b7ef
)
CodSpeed Performance Gauge
0%
Untouched
62
Skipped
4

Benchmarks

66 total
rustpython[richards.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
+7%
1.8 ms1.7 ms
rustpython[pystone.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
+6%
1.2 ms1.1 ms
rustpython[base64.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-5%
232.6 µs245 µs
rustpython[deltablue.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
+4%
2.6 ms2.5 ms
rustpython[unpickle.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
+3%
254.2 µs246.6 µs
fannkuch.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
-3%
1.8 ms1.8 ms
rustpython[fannkuch.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-3%
283.9 µs291.9 µs
rustpython[nqueens.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-3%
350.8 µs360.6 µs
rustpython[deepcopy.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-2%
361.2 µs370.2 µs
rustpython[strings.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
+2%
40.1 ms39.1 ms
rustpython[json_loads.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-2%
73.5 µs75.2 µs
rustpython[comprehension_list.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
+2%
1.1 ms1.1 ms
rustpython[generators.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-2%
268 µs273.3 µs
rustpython[decimal_factorial.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
+2%
187 µs183.6 µs
rustpython[pidigits.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
+2%
348.7 µs342.5 µs
rustpython[addition.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
+2%
2.3 ms2.3 ms
float.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+2%
319.2 ms314.5 ms
rustpython[json_dumps.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-1%
173.2 µs175.1 µs
nqueens.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
-1%
4.3 s4.4 s
rustpython[loop_append.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
-1%
2.3 ms2.3 ms
json_loads.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+1%
68.8 ms68.2 ms
rustpython[pickle.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-1%
265.7 µs267.7 µs
json_dumps.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+1%
277.6 ms275.6 ms
rustpython[20000]
benches/execution.rs::benches::criterion_benchmark::pystone
CodSpeed Performance Gauge
-1%
14.5 ms14.6 ms
pidigits.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
-1%
402 ms404.1 ms

Commits

Click on a commit to change the comparison range
Base
main
112b7ef
+0.13%
feat(capi): implement Limited API buffer protocol and Py_buffer
59e630c
5 days ago
by krosci
© 2026 CodSpeed Technology
Home Terms Privacy Docs