File tree Expand file tree Collapse file tree 4 files changed +6
-3
lines changed
Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 4343 path : /tmp/gotest.log
4444 if-no-files-found : error
4545 - name : Benchmarks
46- run : go test ./... -bench=. -run=^#
46+ run : go test ./... -bench=. -run=^# -benchmem
Original file line number Diff line number Diff line change @@ -23,3 +23,6 @@ go.work.sum
2323
2424# env file
2525.env
26+
27+ # Benchmarks
28+ benchmarks /
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ test-all:
1111 set -euo pipefail
1212 go test -json -v ./ ... 2 >&1 | tee / tmp/ gotest.log | gotestfmt
1313bench day :
14- go test ./ day-{{ day}} -bench=. -run=^#
14+ go test ./ day-{{ day}} -bench=. -run=^# -benchmem | tee ./benchmarks/day-{{day}}_`uname`_`hostname`_`date +%FT%T`.txt
1515bench-all :
16- go test ./ ... -bench=. -run=^#
16+ go test ./ ... -bench=. -run=^# -benchmem | tee ./benchmarks/all_`uname`_`hostname`_`date +%FT%T`.txt
1717create day :
1818 go run scripts/ template/ main.go -day {{ day}}
You can’t perform that action at this time.
0 commit comments