Codebase list golang-github-tomnomnom-linkheader / ce094ca8-cdce-4412-b7b4-4be56f085808/upstream script / profile
ce094ca8-cdce-4412-b7b4-4be56f085808/upstream

Tree @ce094ca8-cdce-4412-b7b4-4be56f085808/upstream (Download .tar.gz)

profile @ce094ca8-cdce-4412-b7b4-4be56f085808/upstreamraw · history · blame

1
2
3
4
5
6
7
#!/bin/sh
set -e
PROJDIR=$(cd `dirname $0`/.. && pwd)
cd ${PROJDIR}

go test -bench . -benchmem -cpuprofile cpu.out
go tool pprof linkheader.test cpu.out