-
Notifications
You must be signed in to change notification settings - Fork 0
/
Taskfile.yml
44 lines (41 loc) · 1.24 KB
/
Taskfile.yml
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
35
36
37
38
39
40
41
42
43
44
# https://taskfile.dev
version: '3'
tasks:
go-benchmark:
cmds:
- go test -bench=. -benchtime=10s -count=5 ./testing/...
silent: true
benchmark:
cmds:
- task: results-generator
- task: results-printer
- task: results-exporter
silent: true
results-generator:
cmds:
- echo "============================================="
- echo "Generating results file"
- echo "============================================="
- go run cmd/bench/generate/main.go
silent: true
results-printer:
cmds:
- echo "============================================="
- echo "Printing results"
- echo "============================================="
- go run cmd/bench/results/main.go
silent: true
results-exporter:
cmds:
- echo "============================================="
- echo "Exporting results history"
- echo "============================================="
- go run cmd/bench/results-export/main.go
silent: true
results-history-summary:
cmds:
- echo "============================================="
- echo "Printing results history summary"
- echo "============================================="
- go run cmd/bench/results-history/main.go
silent: true