diff options
Diffstat (limited to 'internal/tui/flamegraph/bench_test.go')
| -rw-r--r-- | internal/tui/flamegraph/bench_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/tui/flamegraph/bench_test.go b/internal/tui/flamegraph/bench_test.go index 33d77d1..d1d0955 100644 --- a/internal/tui/flamegraph/bench_test.go +++ b/internal/tui/flamegraph/bench_test.go @@ -284,7 +284,7 @@ func BenchmarkLiveTrieIngestAndSnapshot(b *testing.B) { b.Run(fmt.Sprintf("%d_events", count), func(b *testing.B) { b.ReportAllocs() for i := 0; i < b.N; i++ { - liveTrie := coreflamegraph.NewLiveTrie([]string{"comm", "path", "tracepoint"}, "count") + liveTrie := coreflamegraph.NewLiveTrie([]string{"comm", "path", "tracepoint"}, "count", "count") for eventIdx := 0; eventIdx < count; eventIdx++ { traceID := types.SYS_ENTER_READ if eventIdx%2 == 0 { |
