hashintel
hash
BlogDocsChangelog

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

#8206
Comparing
bm/be-231-hashql-peephole-optimization
(
08246f0
) with
bm/be-254-experiment-around-with-codspeed
(
e1cb237
)
CodSpeed Performance Gauge
-11%
Regressions
2
(
2
)
Untouched
11
New
4

Benchmarks

New

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

Passed

complex
libs/@local/hashql/mir/benches/transform.rs::benches::dse::dse
CodSpeed Performance Gauge
+2%
19.4 µs19 µs
dead stores
libs/@local/hashql/mir/benches/transform.rs::benches::dse::dse
CodSpeed Performance Gauge
+2%
11.9 µs11.7 µs
diamond
libs/@local/hashql/mir/benches/transform.rs::benches::dse::dse
CodSpeed Performance Gauge
+2%
15.9 µs15.7 µs
linear
libs/@local/hashql/mir/benches/transform.rs::benches::dse::dse
CodSpeed Performance Gauge
+2%
12.2 µs12 µs
diamond
libs/@local/hashql/mir/benches/transform.rs::benches::sroa::sroa
CodSpeed Performance Gauge
0%
17.6 µs17.6 µs
complex
libs/@local/hashql/mir/benches/transform.rs::benches::sroa::sroa
CodSpeed Performance Gauge
0%
24.1 µs24.1 µs
linear
libs/@local/hashql/mir/benches/transform.rs::benches::sroa::sroa
CodSpeed Performance Gauge
0%
8.6 µs8.7 µs
complex
libs/@local/hashql/mir/benches/transform.rs::benches::cfg_simplify::cfg_simplify
CodSpeed Performance Gauge
-1%
25.2 µs25.4 µs
diamond
libs/@local/hashql/mir/benches/transform.rs::benches::cfg_simplify::cfg_simplify
CodSpeed Performance Gauge
-1%
20.5 µs20.8 µs
linear
libs/@local/hashql/mir/benches/transform.rs::benches::cfg_simplify::cfg_simplify
CodSpeed Performance Gauge
-1%
17.8 µs18 µs
linear
libs/@local/hashql/mir/benches/transform.rs::benches::pipeline::pipeline
CodSpeed Performance Gauge
-9%
31.1 µs34.1 µs
complex
libs/@local/hashql/mir/benches/transform.rs::benches::pipeline::pipeline
Regression
CodSpeed Performance Gauge
-11%
60.2 µs67.7 µs
diamond
libs/@local/hashql/mir/benches/transform.rs::benches::pipeline::pipeline
Regression
CodSpeed Performance Gauge
-11%
44.1 µs49.7 µs

Commits

Click on a commit to change the comparison range
Base
bm/be-254-experiment-around-with-codspeed
e1cb237
-11.29%
chore: snapshots
08246f0
3 days ago
by indietyp
© 2025 CodSpeed Technology
Home Terms Privacy Docs