☰
Debian Codegraph
@
0.7.1-2
/
/
script
/
profile
☽
☼
script/profile
code
plain
raw
Expat
2016 Tom Hudson
debian/copyright
1
#!/bin/sh
2
set -e
3
PROJDIR=$(cd `dirname $0`/.. && pwd)
4
cd ${PROJDIR}
5
6
PAT="."
7
if [ ! -z "${1}" ]; then
8
PAT="${1}"
9
fi
10
11
go test -bench ${PAT} -benchmem -cpuprofile cpu.out
12
go tool pprof gron.test cpu.out