Codebase list golang-github-tomnomnom-linkheader / b9f7e8cd-a8fa-4453-96a0-1b47b382c469/upstream script / profile
b9f7e8cd-a8fa-4453-96a0-1b47b382c469/upstream

Tree @b9f7e8cd-a8fa-4453-96a0-1b47b382c469/upstream (Download .tar.gz)

profile @b9f7e8cd-a8fa-4453-96a0-1b47b382c469/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