1 | old: go test -cpuprofile cpu.prof |
1 | go test —blockprofile=block.out |
1 | < go1.10beta1 tool pprof block.out |
trace
1 | go test -trace trace.out |
1 | old: go test -cpuprofile cpu.prof |
1 | go test —blockprofile=block.out |
1 | < go1.10beta1 tool pprof block.out |
trace
1 | go test -trace trace.out |