summaryrefslogtreecommitdiff
path: root/internal/flamegraph/collapsed.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-03-24 22:36:15 +0200
committerPaul Buetow <paul@buetow.org>2025-03-24 22:36:15 +0200
commit1e09e1fa9ab053d793010f6e8cedbbca75076edf (patch)
tree1e7e78552620222c5ad4bac364947d21c037522d /internal/flamegraph/collapsed.go
parent91bdec412bf5701c8dfe4b5e1a8ec841a18c004a (diff)
more on this
Diffstat (limited to 'internal/flamegraph/collapsed.go')
-rw-r--r--internal/flamegraph/collapsed.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/flamegraph/collapsed.go b/internal/flamegraph/collapsed.go
index 3d2724e..012ea45 100644
--- a/internal/flamegraph/collapsed.go
+++ b/internal/flamegraph/collapsed.go
@@ -26,7 +26,6 @@ func (c *counter) merge(other counter) {
// counter can also have bytes (for reads and writes)
type collapsed map[string]map[types.TraceId]counter
-// TODO: Unit test this
func (c collapsed) merge(other collapsed) (merged int) {
for k, v := range other {
if _, ok := c[k]; !ok {