Skip to content

Commit ca23ed0

Browse files
authored
chore: fix "tests/compiler//sum binary sizes" benchmark (#11444)
The bench script expected no output on stdout from `compile.sh`, which was not always the case. Now, it separates the compilation and size measurement steps.
1 parent 5e165e3 commit ca23ed0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/bench/speedcenter.exec.velcom.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,9 @@
9898
cwd: ../compiler/
9999
cmd: |
100100
set -eu
101+
for f in *.lean; do ../bench/compile.sh $f > /dev/null; done
101102
printf 'sum binary sizes: '
102-
for f in *.lean; do ../bench/compile.sh $f; printf '%s\0' "$f.out"; done | wc -c --files0-from=- | tail -1 | cut -d' ' -f 1
103+
for f in *.lean; do printf '%s\0' "$f.out"; done | wc -c --files0-from=- | tail -1 | cut -d' ' -f 1
103104
max_runs: 1
104105
runner: output
105106
- attributes:

0 commit comments

Comments
 (0)