github.com/parquet-go/parquet-go@v0.20.0/encoding/rle/rle_amd64_test.go (about)

     1  //go:build !purego && amd64
     2  // +build !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  }