bmizerany/pq — pull request #32 by fdr (2012-07-26 04:17:46+00:00)
Title: Add result parsing benchmark

To see what's slow, try this:

go test -c

# Run for 60s
go test -test.bench='BenchmarkResultParsing' \
-test.cpuprofile=cpu.prof -test.benchtime 5

pprof pq.test cpu.prof

In the pprof (sometimes called google-pprof) prompt:

(pprof) web

Signed-off-by: Dan Farina