Open
Description
Hi y'all,
I recently started learning Go, and I wanted to build a small local music player.
Long story short, after running pprof
on my program, I get this when I run it on /pprof/heap:
Showing top 10 nodes out of 29
flat flat% sum% cum cum%
6780.27kB 50.16% 50.16% 6780.27kB 50.16% github.com/hajimehoshi/go-mp3.(*Decoder).ensureFrameStartsAndLength
2593.27kB 19.19% 69.35% 4665.36kB 34.52% github.com/hajimehoshi/go-mp3/internal/frame.Read
2072.09kB 15.33% 84.68% 2072.09kB 15.33% github.com/hajimehoshi/go-mp3/internal/maindata.getScaleFactorsMpeg1
(Hopefully) I am closing any beep.StreamSeekCloser
, but of course I could be wrong. If needed, I'd be happy to attach any relevant code.
Metadata
Assignees
Labels
No labels
Activity