diff options
| author | Paul Buetow <paul@buetow.org> | 2020-08-06 11:30:09 +0100 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2020-08-06 11:30:09 +0100 |
| commit | d4c15be3268ee675b0d5853a8ffdb6c4c92585e7 (patch) | |
| tree | 4cd334e70c3ee14d9b441c988a88fb78aa1efd84 /Makefile | |
| parent | f8cd759c94be1f0daeba46940fac0ca3d4201388 (diff) | |
add profiling example
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -6,3 +6,6 @@ test: go test ./... -v bench: go test -run=10 -bench=. ./... -v +profile: + go test -bench=QuickSort ./sort -memprofile memprofile.out -cpuprofile profile.out + go tool pprof profile.out |
