aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/go-faster/city/ch_64_test.go
blob: 8cbb30812079c65508dad909add7f8306cc2dfa4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package city

import (
	"testing"
)

func BenchmarkClickHouse64(b *testing.B) {
	setup()
	b.ResetTimer()
	b.ReportAllocs()
	b.SetBytes(1024)

	for i := 0; i < b.N; i++ {
		CH64(data[:1024])
	}
}