(b *testing.B)
| 2924 | } |
| 2925 | |
| 2926 | func BenchmarkValueBinder_BindInt64_single(b *testing.B) { |
| 2927 | c := createTestContext("/search?param=1¶m=100", nil, nil) |
| 2928 | |
| 2929 | b.ReportAllocs() |
| 2930 | b.ResetTimer() |
| 2931 | type Opts struct { |
| 2932 | Param int64 |
| 2933 | } |
| 2934 | binder := QueryParamsBinder(c) |
| 2935 | for i := 0; i < b.N; i++ { |
| 2936 | var dest Opts |
| 2937 | _ = binder.Int64("param", &dest.Param).BindError() |
| 2938 | } |
| 2939 | } |
| 2940 | |
| 2941 | func BenchmarkRawFunc_Int64_single(b *testing.B) { |
| 2942 | c := createTestContext("/search?param=1¶m=100", nil, nil) |
nothing calls this directly
no test coverage detected
searching dependent graphs…