Skip to content

Commit df83270

Browse files
committed
fix(tools): fix just benchmark-one (#15532)
`just benchmark-one` was broken when all benchmarks except linter got combined into a single `compiler` cargo feature. Fix it. Add a separate `just benchmark-linter` command for linter (different cargo feature).
1 parent 97d2104 commit df83270

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

justfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,10 @@ benchmark:
9999

100100
# Run benchmarks for a single component
101101
benchmark-one *args:
102-
cargo benchmark --bench {{args}} --no-default-features --features {{args}}
102+
cargo benchmark --bench {{args}} --no-default-features --features compiler
103+
104+
benchmark-linter:
105+
cargo benchmark --bench linter --no-default-features --features linter
103106

104107
# ==================== TESTING & CONFORMANCE ====================
105108

0 commit comments

Comments
 (0)