summaryrefslogtreecommitdiff
path: root/internal/tui/flamegraph/bench_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-26 22:31:40 +0300
committerPaul Buetow <paul@buetow.org>2026-05-26 22:31:40 +0300
commit6bfa0031cc7c903c16baaca2d0f504be26fb828c (patch)
tree0d3c002eaed4c6e02f12cbffd7054bd07989e0fe /internal/tui/flamegraph/bench_test.go
parentf42d4f4f0b9d3faf38d2f3c3a9753a03440cdd24 (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.go2
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 {