summaryrefslogtreecommitdiff
path: root/internal/tui/flamegraph/bench_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-06 16:46:37 +0200
committerPaul Buetow <paul@buetow.org>2026-03-06 16:46:37 +0200
commitbc7a162f20a62d4f2ac0ba4908e67689e1ee2c5c (patch)
treea756cbaf85cd51127c375724f0a01ccab9c872b8 /internal/tui/flamegraph/bench_test.go
parenta639ed055e540d57fc2de6a9e90eac30555515f8 (diff)
refactor: make livetrie caller-owned for pair recycling (task 382)
Diffstat (limited to 'internal/tui/flamegraph/bench_test.go')
-rw-r--r--internal/tui/flamegraph/bench_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/tui/flamegraph/bench_test.go b/internal/tui/flamegraph/bench_test.go
index 05c6526..33d77d1 100644
--- a/internal/tui/flamegraph/bench_test.go
+++ b/internal/tui/flamegraph/bench_test.go
@@ -298,6 +298,7 @@ func BenchmarkLiveTrieIngestAndSnapshot(b *testing.B) {
buildBenchmarkPath(8, 6, eventIdx),
)
liveTrie.Ingest(pair)
+ pair.Recycle()
}
payload, _ := liveTrie.SnapshotJSON()