-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtaskfile.dist.yml
More file actions
35 lines (27 loc) · 923 Bytes
/
taskfile.dist.yml
File metadata and controls
35 lines (27 loc) · 923 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# https://taskfile.dev
version: '3'
vars:
GREETING: Hello, World!
tasks:
quickbench:
desc: Quick sanity check of benchmarks.
cmds:
- go test -run Bench -bench Bench -benchtime 100ms
runfullbench:
desc: Run full benchmark for producing results.
cmds:
- go test -run Bench -bench Bench -benchtime 5s | tee www/last_benches.txt
vizfullbench:
desc: Generate results HTML from last full benchmark run.
cmds:
- vizb www/last_benches.txt -t us -p "/w/n/s" -m KB -n "RPC Systems Comparison" -o www/last_benches.html
report:
desc: Run full benchmark and regenerate report HTML.
cmds:
- task runfullbench
- task vizfullbench
main-result-imgs:
desc: Helper to plot images for the main results.
cmds:
- grep -E "(seq.*/nop|seq.*/tree|par.*/hex)" www/last_benches.txt > /tmp/bench.txt
- python benchplot.py </tmp/bench.txt