diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-06 16:46:37 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-06 16:46:37 +0200 |
| commit | bc7a162f20a62d4f2ac0ba4908e67689e1ee2c5c (patch) | |
| tree | a756cbaf85cd51127c375724f0a01ccab9c872b8 /internal/tui/flamegraph/bench_test.go | |
| parent | a639ed055e540d57fc2de6a9e90eac30555515f8 (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.go | 1 |
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() |
