#!/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