github.com/vc42/parquet-go@v0.0.0-20240320194221-1a9adb5f23f5/encoding/rle/rle_amd64_test.go (about) 1 //go:build go1.18 && !purego && amd64 2 // +build go1.18,!purego,amd64 3 4 package rle 5 6 import "testing" 7 8 func TestEncodeInt32IndexEqual8ContiguousAVX2(t *testing.T) { 9 testEncodeInt32IndexEqual8Contiguous(t, encodeInt32IndexEqual8ContiguousAVX2) 10 } 11 12 func TestEncodeInt32IndexEqual8ContiguousSSE(t *testing.T) { 13 testEncodeInt32IndexEqual8Contiguous(t, encodeInt32IndexEqual8ContiguousSSE) 14 } 15 16 func BenchmarkEncodeInt32IndexEqual8ContiguousAVX2(b *testing.B) { 17 benchmarkEncodeInt32IndexEqual8Contiguous(b, encodeInt32IndexEqual8ContiguousAVX2) 18 } 19 20 func BenchmarkEncodeInt32IndexEqual8ContiguousSSE(b *testing.B) { 21 benchmarkEncodeInt32IndexEqual8Contiguous(b, encodeInt32IndexEqual8ContiguousSSE) 22 }