chore: benchmark binary sizes
This commit is contained in:
parent
0fe465b1b8
commit
79a352a0b7
1 changed files with 21 additions and 0 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue