(b *testing.B, traceSpanCount int)
| 212 | } |
| 213 | |
| 214 | func benchmarkDeduper(b *testing.B, traceSpanCount int) { |
| 215 | trace := test.MakeTraceWithSpanCount(1, traceSpanCount, []byte{0x00}) |
| 216 | s := newDeduper() |
| 217 | |
| 218 | b.ResetTimer() |
| 219 | for i := 0; i < b.N; i++ { |
| 220 | _ = s.dedupe(trace) |
| 221 | } |
| 222 | } |
no test coverage detected