...

Source file src/github.com/launchdarkly/go-sdk-common/v3/ldcontext/context_easyjson_benchmark_test.go

Documentation: github.com/launchdarkly/go-sdk-common/v3/ldcontext

     1  //go:build launchdarkly_easyjson
     2  
     3  package ldcontext
     4  
     5  import (
     6  	"testing"
     7  )
     8  
     9  func BenchmarkEasyJSONMarshal(b *testing.B) {
    10  	doMarshalBenchmark(b, easyJSONMarshalTestFn)
    11  }
    12  
    13  func BenchmarkEasyJSONUnmarshal(b *testing.B) {
    14  	doUnmarshalBenchmark(b, easyJSONUnmarshalTestFn)
    15  }
    16  

View as plain text