From 24996416c11942abe22b1e3c1dee29243fd55fd1 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 24 Aug 2020 14:44:34 +0100 Subject: benchmark of pq --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1236312..2a2a4ac 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3