diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,9 +4,11 @@ run: go run main.go test: go test ./... -v -bench: sortbench +bench: sortbench queuebench sortbench: go test -run=xxx -bench=. ./sort | tee sortbench.out +queuebench: + go test -run=xxx -bench=. ./queue | tee queuebench.out profile: go test -run=xxx -bench=BenchmarkQuickSort ./sort -memprofile memprofile.out -cpuprofile cpuprofile.out go tool pprof cpuprofile.out |
