Change-Id: I82e0c6e883a89af46fff9955b72c79b295816561
This commit is contained in:
Mateusz Poliwczak 2024-05-08 20:22:39 +02:00
parent a72fdb11cd
commit aeedf3f6c4

View file

@ -278,8 +278,6 @@ func BenchmarkDecode(b *testing.B) {
func BenchmarkDecodeString(b *testing.B) {
for _, size := range []int{256, 1024, 4096, 16384} {
src := strings.Repeat("2b744faa", size/8)
sink = make([]byte, size/2)
b.Run(fmt.Sprintf("%v", size), func(b *testing.B) {
b.SetBytes(int64(size))
for i := 0; i < b.N; i++ {