mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Added StartTimer to setup payload
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user