chore: benchmark binary sizes

This commit is contained in:
Sebastian Ullrich 2020-02-27 18:17:25 +01:00
parent 0fe465b1b8
commit 79a352a0b7

View file

@ -31,6 +31,27 @@
"
max_runs: 1
runner: output
- attributes:
description: bin/lean
tags: [deterministic, fast]
run_config:
cmd: |
set -eu
echo -n 'binary size: '
wc -c ../../bin/lean | cut -d' ' -f 1
max_runs: 1
runner: output
- attributes:
description: tests/compiler
tags: [deterministic, slow]
run_config:
cwd: ../compiler/
cmd: |
set -eu
echo -n 'sum binary sizes: '
for f in *.lean; do ../bench/compile.sh $f; echo -n "$f.out\0"; done | wc -c --files0-from=- | tail -1 | cut -d' ' -f 1
max_runs: 1
runner: output
- attributes:
description: binarytrees
tags: [fast, suite]