]> Cypherpunks.ru repositories - govpn.git/commitdiff
Unnecessary benchmark timer reset call
authorSergey Matveev <stargrave@stargrave.org>
Sun, 11 Sep 2016 11:06:12 +0000 (14:06 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 11 Sep 2016 13:48:16 +0000 (16:48 +0300)
src/cypherpunks.ru/govpn/peer_test.go

index 4a0c7523f6a71abc67061c82102116b2fa478a4f..18bd5feada92d165033b0b8da0336b834f08822d 100644 (file)
@@ -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)
        }