From 2f8f69cfed50f408ebca698e7bf0c202c10269b1 Mon Sep 17 00:00:00 2001 From: Anmol Sethi <hi@nhooyr.io> Date: Wed, 6 Nov 2019 09:49:39 -0500 Subject: [PATCH] Add more sizes to BenchmarkXOR --- frame_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frame_test.go b/frame_test.go index 8c5760e..84742ff 100644 --- a/frame_test.go +++ b/frame_test.go @@ -334,8 +334,12 @@ func basixXOR(maskKey [4]byte, pos int, b []byte) int { func BenchmarkXOR(b *testing.B) { sizes := []int{ 2, + 3, + 4, + 8, 16, 32, + 128, 512, 4096, 16384, -- GitLab