lean4-htt/tests/bench/speedcenter.exec.yaml
2019-11-25 12:47:42 +01:00

100 lines
2.5 KiB
YAML

- attributes:
description: stdlib
tags: [slow]
time: &time
runner: time
# alternative config: use `perf stat` for extended properties
#runner: perf_stat
#perf_stat:
# properties: ['cache-misses', 'wall-clock']
run_config:
<<: *time
cwd: ../../src
cmd: |
bash -c "find . -name '*.lean' -exec ../bin/lean --stats -Dprofiler=true -Dprofiler.threshold=9999 {} \; 2>&1 | ../tests/bench/accumulate_profile.py"
max_runs: 3
parse_output: true
- attributes:
description: stdlib size
tags: [deterministic, fast]
run_config:
cwd: ../../
cmd: |
bash -c "
set -euxo pipefail &&
echo -n 'lines: ' &&
find src -name '*.lean' -print0 | wc -l --files0-from=- | tail -1 | cut -d' ' -f 1"
max_runs: 1
runner: output
- attributes:
description: binarytrees
tags: [fast, suite]
run_config:
<<: *time
cmd: ./binarytrees.lean.out 21
build_config:
cmd: ./compile.sh binarytrees.lean
- attributes:
description: deriv
tags: [fast, suite]
run_config:
<<: *time
cmd: ./deriv.lean.out 10
build_config:
cmd: ./compile.sh deriv.lean
- attributes:
description: const_fold
tags: [fast, suite]
run_config:
<<: *time
cmd: bash -c "ulimit -s unlimited && ./const_fold.lean.out 23"
build_config:
cmd: ./compile.sh const_fold.lean
- attributes:
description: new parser Core.lean
tags: [fast, suite]
run_config:
<<: *time
cmd: ./parser.lean.out ../../src/Init/Core.lean 100
build_config:
cmd: ./compile.sh parser.lean
- attributes:
description: qsort
tags: [fast, suite]
run_config:
<<: *time
cmd: ./qsort.lean.out 400
build_config:
cmd: ./compile.sh qsort.lean
- attributes:
description: rbmap
tags: [fast, suite]
run_config:
<<: *time
cmd: ./rbmap.lean.out 2000000
build_config:
cmd: ./compile.sh rbmap.lean
- attributes:
description: rbmap_1
tags: [fast, suite]
run_config:
<<: *time
cmd: ./rbmap_checkpoint.lean.out 2000000 1
build_config:
cmd: ./compile.sh rbmap_checkpoint.lean
- attributes:
description: rbmap_10
tags: [fast, suite]
run_config:
<<: *time
cmd: ./rbmap_checkpoint.lean.out 2000000 10
build_config:
cmd: ./compile.sh rbmap_checkpoint.lean
- attributes:
description: unionfind
tags: [fast, suite]
run_config:
<<: *time
cmd: ./unionfind.lean.out 3000000
build_config:
cmd: ./compile.sh unionfind.lean