Avatar for the RustPython user
RustPython
RustPython
BlogDocsChangelog

C API type slots

#8435
Comparing
youknowone:c-api-type-slots
(
2fc0aca
) with
main
(
7f314dd
)
CodSpeed Performance Gauge
0%
Untouched
62
Skipped
4

Benchmarks

66 total
rustpython[list_count_custom_eq.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
+7%
2.1 ms2 ms
rustpython[loop_append.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
+6%
2.3 ms2.2 ms
rustpython[richards.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
+6%
1.8 ms1.7 ms
rustpython[json_loads.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
+5%
77.5 µs73.8 µ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
-4%
248.8 µs259.7 µs
rustpython[cmp.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
-4%
58.6 ms61 ms
rustpython[nbody.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
+4%
681.1 µs656.7 µs
rustpython[generators.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-3%
266.4 µs275.9 µs
rustpython[addition.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
+3%
2.4 ms2.3 ms
rustpython[comprehension_set.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
+3%
1.6 ms1.5 ms
rustpython[json_dumps.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
+3%
177.4 µs172.3 µs
fannkuch.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+3%
1.8 ms1.8 ms
rustpython[frozenset.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
-2%
459.9 µs471.6 µs
deltablue.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+2%
235.3 ms230.1 ms
rustpython[list_count_builtins.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
-2%
537.5 µs549.8 µs
nbody.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
-2%
1.2 s1.3 s
rustpython[pickle.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
+2%
271.5 µs266.6 µs
mandelbrot.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
-2%
671.1 ms683.2 ms
rustpython[sorted.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
-2%
7 ms7.1 ms
deepcopy.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+2%
149.7 ms147.4 ms
rustpython[fannkuch.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-2%
286.2 µs290.6 µs
decimal_factorial.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+1%
1,006.9 ms992.8 ms
generators.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
-1%
4.2 s4.2 s
float.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
-1%
312.4 ms316.1 ms

Commits

Click on a commit to change the comparison range
Base
main
7f314dd
+0.37%
capi: keep the pyo3 pyclass test under object/pytype
2fc0aca
1 month ago
by youknowone
© 2026 CodSpeed Technology
Home Terms Privacy Docs