From: Sergey Matveev Date: Sun, 11 Sep 2016 11:06:12 +0000 (+0300) Subject: Unnecessary benchmark timer reset call X-Git-Tag: 6.0^2~2 X-Git-Url: http://www.git.cypherpunks.ru/?p=govpn.git;a=commitdiff_plain;h=f576bd10109626e8fd2ac41a7ed0ce86cc6e3822 Unnecessary benchmark timer reset call --- diff --git a/src/cypherpunks.ru/govpn/peer_test.go b/src/cypherpunks.ru/govpn/peer_test.go index 4a0c752..18bd5fe 100644 --- a/src/cypherpunks.ru/govpn/peer_test.go +++ b/src/cypherpunks.ru/govpn/peer_test.go @@ -113,7 +113,6 @@ func TestTransportSymmetricEncless(t *testing.T) { } func BenchmarkEnc(b *testing.B) { - b.ResetTimer() for i := 0; i < b.N; i++ { testPeer.EthProcess(testPt) }