Avatar for the RustPython user
RustPython
RustPython
BlogDocsChangelog

feat(capi): implement PyUnicode string operations and manipulation APIs

#8923
Comparing
krosci:feat/capi-unicode-string-ops
(
f8717e3
) 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 µs244.4 µs
rustpython[json_loads.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-5%
73.5 µs77.1 µs
rustpython[deltablue.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
+4%
2.6 ms2.5 ms
rustpython[loop_string.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
-4%
818.5 µs855.3 µs
rustpython[pickle.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
+4%
265.7 µs255.6 µs
rustpython[fannkuch.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
+3%
283.9 µs275.9 µs
rustpython[deepcopy.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-2%
361.2 µs369.3 µs
json_loads.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
-2%
68.8 ms70.3 ms
rustpython[comprehension_list.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
+2%
1.1 ms1.1 ms
deltablue.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
-2%
237 ms241.4 ms
rustpython[generators.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-2%
268 µs273 µs
rustpython[addition.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
+2%
2.3 ms2.3 ms
rustpython[nqueens.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-1%
350.8 µs356.1 µs
rustpython[unpickle.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-1%
254.2 µs257.2 µ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
rustpython[10000]
benches/execution.rs::benches::criterion_benchmark::pystone
CodSpeed Performance Gauge
+1%
8.3 ms8.2 ms
rustpython[decimal_factorial.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-1%
187 µs188.7 µs
float.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
-1%
319.2 ms322 ms
rustpython[json_dumps.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-1%
173.2 µs174.6 µs
mandelbrot.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+1%
688.2 ms683.2 ms
rustpython[regex_effbot.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
+1%
815 µs809 µs
rustpython[nbody.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-1%
675.3 µs680 µs

Commits

Click on a commit to change the comparison range
Base
main
112b7ef
0%
feat(capi): implement PyUnicode string operations and manipulation APIs
f8717e3
6 days ago
by krosci
© 2026 CodSpeed Technology
Home Terms Privacy Docs