super-graph/psql/pprof_mem.sh

3 lines
92 B
Bash
Raw 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 -memprofile mem.out -run=XXX
2019-03-27 05:15:14 +01:00
go tool pprof -cum mem.out