diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-26 22:31:40 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-26 22:31:40 +0300 |
| commit | 6bfa0031cc7c903c16baaca2d0f504be26fb828c (patch) | |
| tree | 0d3c002eaed4c6e02f12cbffd7054bd07989e0fe /internal/tui/flamegraph/bench_test.go | |
| parent | f42d4f4f0b9d3faf38d2f3c3a9753a03440cdd24 (diff) | |
flamegraph: add LiveTrie height metric ingestion (task qo)
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 { |
