hashintel
hash
BlogDocsChangelog

BE-231: HashQL: Add InstSimplify pass for MIR instruction simplification and constant folding

#8206Merged
Comparing
bm/be-231-hashql-peephole-optimization
(
ee58159
) with
main
(
1892655
)
CodSpeed Performance Gauge
-11%
Regressions
2
(
2
)
Untouched
8
New
4
Archived
3

Benchmarks

New

linear
libs/@local/hashql/mir/benches/transform.rs::benches::inst_simplify::inst_simplify
CodSpeed Performance Gauge
N/A
N/A9.6 µs
foldable
libs/@local/hashql/mir/benches/transform.rs::benches::inst_simplify::inst_simplify
CodSpeed Performance Gauge
N/A
N/A9 µs
diamond
libs/@local/hashql/mir/benches/transform.rs::benches::inst_simplify::inst_simplify
CodSpeed Performance Gauge
N/A
N/A11.5 µs
complex
libs/@local/hashql/mir/benches/transform.rs::benches::inst_simplify::inst_simplify
CodSpeed Performance Gauge
N/A
N/A17.3 µs

Passed

dead stores
libs/@local/hashql/mir/benches/transform.rs::benches::dse::dse
CodSpeed Performance Gauge
+4%
12 µs11.6 µs
linear
libs/@local/hashql/mir/benches/transform.rs::benches::dse::dse
CodSpeed Performance Gauge
+3%
12.2 µs11.9 µs
complex
libs/@local/hashql/mir/benches/transform.rs::benches::dse::dse
CodSpeed Performance Gauge
+2%
19.3 µs18.9 µs
diamond
libs/@local/hashql/mir/benches/transform.rs::benches::dse::dse
CodSpeed Performance Gauge
+2%
15.9 µs15.6 µs
complex
libs/@local/hashql/mir/benches/transform.rs::benches::cfg_simplify::cfg_simplify
CodSpeed Performance Gauge
-1%
25 µs25.2 µs
diamond
libs/@local/hashql/mir/benches/transform.rs::benches::cfg_simplify::cfg_simplify
CodSpeed Performance Gauge
-1%
20.4 µs20.6 µs
linear
libs/@local/hashql/mir/benches/transform.rs::benches::cfg_simplify::cfg_simplify
CodSpeed Performance Gauge
-1%
17.9 µs18.1 µs
linear
libs/@local/hashql/mir/benches/transform.rs::benches::pipeline::pipeline
CodSpeed Performance Gauge
-9%
31 µs34 µs
complex
libs/@local/hashql/mir/benches/transform.rs::benches::pipeline::pipeline
Regression
CodSpeed Performance Gauge
-10%
60.4 µs67.4 µs
diamond
libs/@local/hashql/mir/benches/transform.rs::benches::pipeline::pipeline
Regression
CodSpeed Performance Gauge
-11%
44.1 µs49.4 µs

Commits

Click on a commit to change the comparison range
Base
main
1892655
-10.61%
chore: snapshots
ee58159
26 days ago
by indietyp
© 2026 CodSpeed Technology
Home Terms Privacy Docs