super-graph/core/internal/qcode/pprof_mem.sh
2020-04-10 02:27:43 -04:00

3 lines
92 B
Bash
Executable File

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