super-graph/psql/pprof_mem.sh
2019-03-27 00:15:14 -04:00

3 lines
83 B
Bash
Executable File

#!/bin/sh
go test -bench=. -benchmem -memprofile mem.out
go tool pprof -cum mem.out