File: profile

package info (click to toggle)
golang-github-tomnomnom-linkheader 0.1.0%2Bgit20180905.02ca582-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 104 kB
  • sloc: sh: 15; makefile: 2
file content (7 lines) | stat: -rwxr-xr-x 154 bytes parent folder | download
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