Added StartTimer to setup payload

This commit is contained in:
Derek Collison
2012-12-13 17:10:12 -08:00
parent dab1bcb53e
commit dba60fe071

View File

@@ -73,6 +73,7 @@ func Benchmark_PubLargePayload(b *testing.B) {
for i := 0 ; i < 200 ; i++ {
p = p + "hello world "
}
b.StartTimer()
benchPub(b, "foo", p)
}