Debian Codegraph @

codec/bench/z_all_x_bench_gen_test.go

raw symbols SCIP
1 //go:build alltests && go1.7 && x && generated
2 // +build alltests,go1.7,x,generated
3
4 // Copyright (c) 2012-2020 Ugorji Nwoke. All rights reserved.
5 // Use of this source code is governed by a MIT license found in the LICENSE file.
6
7 package codec
8
9 // see notes in z_all_bench_test.go
10
11 import "testing"
12
13 func benchmarkCodecXGenGroup(t *testing.B) {
14 benchmarkDivider()
15 t.Run("Benchmark__Msgpack____Encode", Benchmark__Msgpack____Encode)
16 t.Run("Benchmark__Binc_______Encode", Benchmark__Binc_______Encode)
17 t.Run("Benchmark__Simple_____Encode", Benchmark__Simple_____Encode)
18 t.Run("Benchmark__Cbor_______Encode", Benchmark__Cbor_______Encode)
19 t.Run("Benchmark__Json_______Encode", Benchmark__Json_______Encode)
20 t.Run("Benchmark__Msgp_______Encode", Benchmark__Msgp_______Encode)
21 t.Run("Benchmark__Easyjson___Encode", Benchmark__Easyjson___Encode)
22 t.Run("Benchmark__Ffjson_____Encode", Benchmark__Ffjson_____Encode)
23
24 benchmarkDivider()
25 t.Run("Benchmark__Msgpack____Decode", Benchmark__Msgpack____Decode)
26 t.Run("Benchmark__Binc_______Decode", Benchmark__Binc_______Decode)
27 t.Run("Benchmark__Simple_____Decode", Benchmark__Simple_____Decode)
28 t.Run("Benchmark__Cbor_______Decode", Benchmark__Cbor_______Decode)
29 t.Run("Benchmark__Json_______Decode", Benchmark__Json_______Decode)
30 t.Run("Benchmark__Msgp_______Decode", Benchmark__Msgp_______Decode)
31 t.Run("Benchmark__Easyjson___Decode", Benchmark__Easyjson___Decode)
32 t.Run("Benchmark__Ffjson_____Decode", Benchmark__Ffjson_____Decode)
33 }
34
35 func BenchmarkCodecXGenSuite(t *testing.B) { benchmarkSuite(t, benchmarkCodecXGenGroup) }