super-graph/psql/pprof_mem.sh

3 lines
83 B
Bash
Raw Normal View History

2019-03-25 05:43:14 +01:00
#!/bin/sh
2019-03-27 05:15:14 +01:00
go test -bench=. -benchmem -memprofile mem.out
go tool pprof -cum mem.out