Avatar for the RustPython user
RustPython
RustPython
BlogDocsChangelog

Reuse stored hashes for frozenset hashing and in-place set union

#8859Merged
Comparing
1ndahous3:set_remaining_hashes
(
ce427b2
) with
main
(
f871707
)
CodSpeed Performance Gauge
+28%
Improvement
1
Untouched
61
Skipped
4

Benchmarks

66 total
rustpython[frozenset.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
+28%
456.4 µs357.3 µs
rustpython[pystone.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-6%
1.1 ms1.2 ms
rustpython[loop_string.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
+6%
843.9 µs794.9 µs
rustpython[richards.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
+6%
1.8 ms1.7 ms
fannkuch.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+5%
1.8 ms1.8 ms
rustpython[float.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-4%
353.5 µs369 µs
rustpython[json_loads.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
+2%
77.8 µs76.1 µ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%
270.6 µs275.8 µs
float.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
-2%
304.5 ms310.3 ms
rustpython[json_dumps.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-2%
174.8 µs178.2 µs
json_loads.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
-2%
68.9 ms70.1 ms
rustpython[cmp.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
+2%
58.5 ms57.5 ms
rustpython[regex_effbot.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-1%
807.8 µs819.3 µs
rustpython[pidigits.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-1%
345.5 µs349.9 µs
rustpython[loop_append.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
-1%
2.2 ms2.2 ms
generators.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+1%
4.2 s4.2 s
decimal_factorial.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
-1%
1 s1 s
deltablue.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
-1%
231.5 ms233.8 ms
nqueens.py[rustpython]
benches/execution.rs::benches::criterion_benchmark::execution
CodSpeed Performance Gauge
+1%
4.2 s4.2 s
rustpython[mandelbrot.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-1%
198.2 µs200 µs
rustpython[decimal_factorial.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
+1%
186.7 µs185.1 µs
rustpython[nqueens.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-1%
359.5 µs362.6 µs
rustpython[comprehension_set.py]
benches/microbenchmarks.rs::benches::criterion_benchmark::microbenchmarks
CodSpeed Performance Gauge
-1%
1.6 ms1.6 ms
rustpython[nbody.py]
benches/execution.rs::benches::criterion_benchmark::parse_to_ast
CodSpeed Performance Gauge
-1%
678.4 µs683.3 µs

Commits

Click on a commit to change the comparison range
Base
main
f871707
+27.72%
Reuse stored hashes for frozenset hashing and in-place set union
ce427b2
1 month ago
by 1ndahous3
© 2026 CodSpeed Technology
Home Terms Privacy Docs