Debian Codegraph @

Makefile

raw
1 tests:
2 go test -v -race -covermode atomic -coverprofile coverage.out && go tool cover -html coverage.out -o coverage.html
3
4 tests_without_race:
5 go test -v -covermode atomic -coverprofile coverage.out && go tool cover -html coverage.out -o coverage.html
6
7 format:
8 go fmt ./...
9
10 bench:
11 go test -bench . -benchmem -cpu 1
12
13 report_bench:
14 go test -cpuprofile cpu.prof -memprofile mem.prof -bench . -cpu 1
15
16 cpu_report:
17 go tool pprof cpu.prof
18
19 mem_report:
20 go tool pprof mem.prof