diff --git a/Makefile b/Makefile index c0977ea..02fbe51 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ benchmark: depsdev go test -bench . -benchmem -benchtime 10000x -run Benchmark | octocov-go-test-bench --tee > custom_metrics_benchmark.json cachegrind: depsdev - cd testdata/testbin && go build -o testbin + cd testdata/testbin && go mod tidy && go build -o testbin setarch `uname -m` -R valgrind --tool=cachegrind --cachegrind-out-file=cachegrind.out --I1=32768,8,64 --D1=32768,8,64 --LL=8388608,16,64 ./testdata/testbin/testbin 10000 cat cachegrind.out | octocov-cachegrind --tee > custom_metrics_cachegrind.json