(b *testing.B)
| 90 | } |
| 91 | |
| 92 | func Benchmark_AddErrorCount_Parallel(b *testing.B) { |
| 93 | b.RunParallel(func(pb *testing.PB) { |
| 94 | var num uint64 = 1 |
| 95 | for pb.Next() { |
| 96 | GlobalState.AddErrorCount("test", errors.New("test error"), num) |
| 97 | } |
| 98 | }) |
| 99 | } |
| 100 | |
| 101 | func Benchmark_AddRequestCount_1(b *testing.B) { |
| 102 | var num uint64 = 1 |
nothing calls this directly
no test coverage detected