super-graph/psql/pprof_cpu.sh

3 lines
93 B
Bash
Raw Permalink Normal View History

2019-03-25 05:43:14 +01:00
#!/bin/sh
2019-05-13 01:27:26 +02:00
go test -bench=. -benchmem -cpuprofile cpu.out -run=XXX
2019-03-27 05:15:14 +01:00
go tool pprof -cum cpu.out