super-graph/psql/pprof_mem.sh

3 lines
83 B
Bash
Executable File

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