diff --git a/before-profiling/cpu.pprof b/before-profiling/cpu.pprof deleted file mode 100644 index a1f8acb..0000000 Binary files a/before-profiling/cpu.pprof and /dev/null differ diff --git a/before-profiling/cpu.txt b/before-profiling/cpu.txt deleted file mode 100644 index 7bca265..0000000 --- a/before-profiling/cpu.txt +++ /dev/null @@ -1,127 +0,0 @@ -File: main -Type: cpu -Time: 2026-01-08 18:54:42 +03 -Duration: 42.74s, Total samples = 3.26s ( 7.63%) -Showing nodes accounting for 3.16s, 96.93% of 3.26s total -Dropped 49 nodes (cum <= 0.02s) - flat flat% sum% cum cum% - 1.67s 51.23% 51.23% 1.67s 51.23% syscall.syscall - 0.96s 29.45% 80.67% 0.96s 29.45% runtime.kevent - 0.08s 2.45% 83.13% 0.08s 2.45% runtime.madvise - 0.06s 1.84% 84.97% 0.06s 1.84% runtime.(*mspan).heapBitsSmallForAddr - 0.05s 1.53% 86.50% 0.05s 1.53% runtime.memclrNoHeapPointers - 0.04s 1.23% 87.73% 0.04s 1.23% runtime.memmove - 0.04s 1.23% 88.96% 0.04s 1.23% runtime.pthread_cond_wait - 0.04s 1.23% 90.18% 0.04s 1.23% runtime.usleep - 0.03s 0.92% 91.10% 0.03s 0.92% internal/runtime/atomic.(*UnsafePointer).Load - 0.03s 0.92% 92.02% 0.16s 4.91% runtime.scanobject - 0.02s 0.61% 92.64% 0.02s 0.61% runtime.(*gcBits).bytep - 0.02s 0.61% 93.25% 0.05s 1.53% runtime.findObject - 0.02s 0.61% 93.87% 0.02s 0.61% runtime.mapaccess2_faststr - 0.02s 0.61% 94.48% 0.02s 0.61% runtime.pageIndexOf - 0.02s 0.61% 95.09% 0.02s 0.61% runtime.pthread_kill - 0.01s 0.31% 95.40% 0.14s 4.29% github.com/wagoodman/dive/dive/filetree.(*FileNode).VisitDepthChildFirst - 0.01s 0.31% 95.71% 0.15s 4.60% github.com/wagoodman/dive/dive/filetree.Efficiency - 0.01s 0.31% 96.01% 0.07s 2.15% runtime.(*mspan).typePointersOfUnchecked - 0.01s 0.31% 96.32% 0.12s 3.68% runtime.mallocgc - 0.01s 0.31% 96.63% 0.02s 0.61% runtime.mapaccess1_faststr - 0.01s 0.31% 96.93% 0.02s 0.61% runtime.spanOf - 0 0% 96.93% 0.16s 4.91% archive/tar.(*Reader).Next - 0 0% 96.93% 1.67s 51.23% archive/tar.(*Reader).Read - 0 0% 96.93% 0.16s 4.91% archive/tar.(*Reader).next - 0 0% 96.93% 0.12s 3.68% archive/tar.(*Reader).readHeader - 0 0% 96.93% 1.67s 51.23% archive/tar.(*regFileReader).Read - 0 0% 96.93% 0.04s 1.23% archive/tar.tryReadFull - 0 0% 96.93% 1.67s 51.23% bufio.(*Reader).Read - 0 0% 96.93% 1.93s 59.20% github.com/anchore/clio.(*application).WrapRunE.func1.1 - 0 0% 96.93% 1.93s 59.20% github.com/anchore/clio.async.func1 - 0 0% 96.93% 1.93s 59.20% github.com/wagoodman/dive/cmd/dive/cli/internal/command.Root.func2 - 0 0% 96.93% 0.15s 4.60% github.com/wagoodman/dive/cmd/dive/cli/internal/command.run - 0 0% 96.93% 0.15s 4.60% github.com/wagoodman/dive/cmd/dive/cli/internal/command/adapter.analysisActionObserver.Analyze - 0 0% 96.93% 1.78s 54.60% github.com/wagoodman/dive/cmd/dive/cli/internal/command/adapter.imageActionObserver.Fetch - 0 0% 96.93% 0.05s 1.53% github.com/wagoodman/dive/dive/filetree.(*FileNode).AddChild - 0 0% 96.93% 0.08s 2.45% github.com/wagoodman/dive/dive/filetree.(*FileNode).Path - 0 0% 96.93% 0.08s 2.45% github.com/wagoodman/dive/dive/filetree.(*FileTree).AddPath - 0 0% 96.93% 0.02s 0.61% github.com/wagoodman/dive/dive/filetree.(*FileTree).Stack - 0 0% 96.93% 0.02s 0.61% github.com/wagoodman/dive/dive/filetree.(*FileTree).Stack.func1 - 0 0% 96.93% 0.14s 4.29% github.com/wagoodman/dive/dive/filetree.(*FileTree).VisitDepthChildFirst - 0 0% 96.93% 0.13s 3.99% github.com/wagoodman/dive/dive/filetree.Efficiency.func1 - 0 0% 96.93% 1.54s 47.24% github.com/wagoodman/dive/dive/filetree.NewFileInfoFromTarHeader - 0 0% 96.93% 0.04s 1.23% github.com/wagoodman/dive/dive/filetree.NewNode - 0 0% 96.93% 0.02s 0.61% github.com/wagoodman/dive/dive/filetree.StackTreeRange - 0 0% 96.93% 1.54s 47.24% github.com/wagoodman/dive/dive/filetree.getHashFromReader - 0 0% 96.93% 0.15s 4.60% github.com/wagoodman/dive/dive/image.Analyze - 0 0% 96.93% 1.78s 54.60% github.com/wagoodman/dive/dive/image/docker.(*engineResolver).Fetch - 0 0% 96.93% 1.78s 54.60% github.com/wagoodman/dive/dive/image/docker.NewImageArchive - 0 0% 96.93% 1.71s 52.45% github.com/wagoodman/dive/dive/image/docker.getFileList - 0 0% 96.93% 1.78s 54.60% github.com/wagoodman/dive/dive/image/docker.processLayerTar - 0 0% 96.93% 1.67s 51.23% go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp.(*wrappedBody).Read - 0 0% 96.93% 1.67s 51.23% internal/poll.(*FD).Read - 0 0% 96.93% 1.67s 51.23% internal/poll.ignoringEINTRIO - 0 0% 96.93% 0.02s 0.61% internal/runtime/maps.(*table).rehash - 0 0% 96.93% 0.02s 0.61% internal/runtime/maps.(*table).reset - 0 0% 96.93% 0.02s 0.61% internal/runtime/maps.newGroups - 0 0% 96.93% 0.02s 0.61% internal/runtime/maps.newTable - 0 0% 96.93% 0.02s 0.61% internal/runtime/maps.newarray - 0 0% 96.93% 1.67s 51.23% io.(*multiReader).Read - 0 0% 96.93% 1.53s 46.93% io.CopyBuffer - 0 0% 96.93% 0.29s 8.90% io.ReadAtLeast - 0 0% 96.93% 0.29s 8.90% io.ReadFull - 0 0% 96.93% 1.53s 46.93% io.copyBuffer - 0 0% 96.93% 1.67s 51.23% net.(*conn).Read - 0 0% 96.93% 1.67s 51.23% net.(*netFD).Read - 0 0% 96.93% 1.67s 51.23% net/http.(*body).Read - 0 0% 96.93% 1.67s 51.23% net/http.(*body).readLocked - 0 0% 96.93% 1.67s 51.23% net/http.(*bodyEOFSignal).Read - 0 0% 96.93% 1.67s 51.23% net/http.(*persistConn).Read - 0 0% 96.93% 1.67s 51.23% net/http/internal.(*chunkedReader).Read - 0 0% 96.93% 0.02s 0.61% runtime.(*gcControllerState).enlistWorker - 0 0% 96.93% 0.02s 0.61% runtime.(*gcWork).balance - 0 0% 96.93% 0.04s 1.23% runtime.(*mcache).nextFree - 0 0% 96.93% 0.04s 1.23% runtime.(*mcache).refill - 0 0% 96.93% 0.04s 1.23% runtime.(*mcentral).cacheSpan - 0 0% 96.93% 0.03s 0.92% runtime.(*mcentral).grow - 0 0% 96.93% 0.08s 2.45% runtime.(*mheap).alloc.func1 - 0 0% 96.93% 0.08s 2.45% runtime.(*mheap).allocSpan - 0 0% 96.93% 0.03s 0.92% runtime.(*mspan).initHeapBits - 0 0% 96.93% 0.02s 0.61% runtime.concatstring2 - 0 0% 96.93% 0.02s 0.61% runtime.concatstrings - 0 0% 96.93% 1.03s 31.60% runtime.findRunnable - 0 0% 96.93% 0.17s 5.21% runtime.gcBgMarkWorker - 0 0% 96.93% 0.19s 5.83% runtime.gcBgMarkWorker.func2 - 0 0% 96.93% 0.19s 5.83% runtime.gcDrain - 0 0% 96.93% 0.06s 1.84% runtime.gcDrainMarkWorkerDedicated - 0 0% 96.93% 0.13s 3.99% runtime.gcDrainMarkWorkerIdle - 0 0% 96.93% 0.02s 0.61% runtime.greyobject - 0 0% 96.93% 0.03s 0.92% runtime.growslice - 0 0% 96.93% 0.04s 1.23% runtime.lock - 0 0% 96.93% 0.04s 1.23% runtime.lock2 - 0 0% 96.93% 0.04s 1.23% runtime.lockWithRank - 0 0% 96.93% 0.04s 1.23% runtime.mPark - 0 0% 96.93% 0.03s 0.92% runtime.mProf_Malloc - 0 0% 96.93% 0.02s 0.61% runtime.makeslice - 0 0% 96.93% 0.02s 0.61% runtime.mallocgcSmallScanHeader - 0 0% 96.93% 0.06s 1.84% runtime.mallocgcSmallScanNoHeader - 0 0% 96.93% 0.02s 0.61% runtime.mapassign_faststr - 0 0% 96.93% 1.03s 31.60% runtime.mcall - 0 0% 96.93% 0.96s 29.45% runtime.netpoll - 0 0% 96.93% 0.02s 0.61% runtime.newarray - 0 0% 96.93% 0.06s 1.84% runtime.newobject - 0 0% 96.93% 0.04s 1.23% runtime.notesleep - 0 0% 96.93% 0.04s 1.23% runtime.osyield - 0 0% 96.93% 1.03s 31.60% runtime.park_m - 0 0% 96.93% 0.02s 0.61% runtime.preemptM - 0 0% 96.93% 0.02s 0.61% runtime.preemptone - 0 0% 96.93% 0.03s 0.92% runtime.profilealloc - 0 0% 96.93% 1.04s 31.90% runtime.schedule - 0 0% 96.93% 0.04s 1.23% runtime.semasleep - 0 0% 96.93% 0.02s 0.61% runtime.signalM - 0 0% 96.93% 0.03s 0.92% runtime.stkbucket - 0 0% 96.93% 0.04s 1.23% runtime.stopm - 0 0% 96.93% 0.08s 2.45% runtime.sysUsed - 0 0% 96.93% 0.08s 2.45% runtime.sysUsedOS - 0 0% 96.93% 0.29s 8.90% runtime.systemstack - 0 0% 96.93% 0.02s 0.61% strings.(*Builder).WriteString - 0 0% 96.93% 0.02s 0.61% strings.Join - 0 0% 96.93% 1.67s 51.23% syscall.Read - 0 0% 96.93% 1.67s 51.23% syscall.read diff --git a/before-profiling/goroutine.pprof b/before-profiling/goroutine.pprof deleted file mode 100644 index c5fde07..0000000 Binary files a/before-profiling/goroutine.pprof and /dev/null differ diff --git a/before-profiling/goroutine.txt b/before-profiling/goroutine.txt deleted file mode 100644 index 9bda396..0000000 --- a/before-profiling/goroutine.txt +++ /dev/null @@ -1,21 +0,0 @@ -File: main -Type: goroutine -Time: 2026-01-08 18:55:24 +03 -Showing nodes accounting for 4, 100% of 4 total - flat flat% sum% cum cum% - 2 50.00% 50.00% 2 50.00% runtime.gopark - 1 25.00% 75.00% 1 25.00% runtime.goroutineProfileWithLabels - 1 25.00% 100% 1 25.00% runtime.sigNoteSleep - 0 0% 100% 1 25.00% github.com/anchore/clio.(*application).Run.func3 - 0 0% 100% 1 25.00% main.main - 0 0% 100% 1 25.00% os/signal.loop - 0 0% 100% 1 25.00% os/signal.signal_recv - 0 0% 100% 1 25.00% runtime.chanrecv - 0 0% 100% 1 25.00% runtime.chanrecv1 - 0 0% 100% 1 25.00% runtime.main - 0 0% 100% 1 25.00% runtime.pprof_goroutineProfileWithLabels - 0 0% 100% 1 25.00% runtime/pprof.(*Profile).WriteTo - 0 0% 100% 1 25.00% runtime/pprof.profileWriter - 0 0% 100% 1 25.00% runtime/pprof.writeGoroutine - 0 0% 100% 1 25.00% runtime/pprof.writeRuntimeProfile - 0 0% 100% 1 25.00% time.Sleep diff --git a/before-profiling/mem.pprof b/before-profiling/mem.pprof deleted file mode 100644 index be8e3ab..0000000 Binary files a/before-profiling/mem.pprof and /dev/null differ diff --git a/before-profiling/mem.txt b/before-profiling/mem.txt deleted file mode 100644 index 5e880dc..0000000 --- a/before-profiling/mem.txt +++ /dev/null @@ -1,60 +0,0 @@ -File: main -Type: inuse_space -Time: 2026-01-08 18:55:24 +03 -Showing nodes accounting for 53.14MB, 100% of 53.14MB total - flat flat% sum% cum cum% - 21MB 39.52% 39.52% 21MB 39.52% github.com/wagoodman/dive/dive/filetree.NewNode - 8.55MB 16.09% 55.61% 28.05MB 52.78% github.com/wagoodman/dive/dive/filetree.(*FileNode).AddChild - 5.51MB 10.37% 65.98% 14.03MB 26.40% github.com/wagoodman/dive/dive/filetree.Efficiency.func1 - 5MB 9.41% 75.39% 5MB 9.41% github.com/wagoodman/dive/dive/filetree.(*FileNode).Path - 4.01MB 7.54% 82.93% 4.01MB 7.54% runtime.allocm - 3.50MB 6.59% 89.52% 3.50MB 6.59% archive/tar.(*parser).parseString - 3MB 5.65% 95.16% 6.50MB 12.23% archive/tar.(*Reader).readHeader - 0.57MB 1.06% 96.23% 0.57MB 1.06% runtime/pprof.StartCPUProfile - 0.50MB 0.95% 97.18% 0.50MB 0.95% github.com/gdamore/tcell/v2.map.init.0 - 0.50MB 0.94% 98.12% 0.50MB 0.94% runtime.malg - 0.50MB 0.94% 99.06% 0.50MB 0.94% runtime.(*scavengerState).init - 0.50MB 0.94% 100% 0.50MB 0.94% runtime.acquireSudog - 0 0% 100% 6.50MB 12.23% archive/tar.(*Reader).Next - 0 0% 100% 6.50MB 12.23% archive/tar.(*Reader).next - 0 0% 100% 46.57MB 87.62% github.com/anchore/clio.(*application).WrapRunE.func1.1 - 0 0% 100% 46.57MB 87.62% github.com/anchore/clio.async.func1 - 0 0% 100% 0.50MB 0.95% github.com/gdamore/tcell/v2.init - 0 0% 100% 46.57MB 87.62% github.com/wagoodman/dive/cmd/dive/cli/internal/command.Root.func2 - 0 0% 100% 14.03MB 26.40% github.com/wagoodman/dive/cmd/dive/cli/internal/command.run - 0 0% 100% 14.03MB 26.40% github.com/wagoodman/dive/cmd/dive/cli/internal/command/adapter.analysisActionObserver.Analyze - 0 0% 100% 32.54MB 61.22% github.com/wagoodman/dive/cmd/dive/cli/internal/command/adapter.imageActionObserver.Fetch - 0 0% 100% 1.50MB 2.82% github.com/wagoodman/dive/dive/filetree.(*FileNode).Copy - 0 0% 100% 14.03MB 26.40% github.com/wagoodman/dive/dive/filetree.(*FileNode).VisitDepthChildFirst - 0 0% 100% 28.05MB 52.78% github.com/wagoodman/dive/dive/filetree.(*FileTree).AddPath - 0 0% 100% 1.50MB 2.82% github.com/wagoodman/dive/dive/filetree.(*FileTree).Copy - 0 0% 100% 2.02MB 3.79% github.com/wagoodman/dive/dive/filetree.(*FileTree).Stack - 0 0% 100% 2.02MB 3.79% github.com/wagoodman/dive/dive/filetree.(*FileTree).Stack.func1 - 0 0% 100% 14.03MB 26.40% github.com/wagoodman/dive/dive/filetree.(*FileTree).VisitDepthChildFirst - 0 0% 100% 14.03MB 26.40% github.com/wagoodman/dive/dive/filetree.Efficiency - 0 0% 100% 3.52MB 6.62% github.com/wagoodman/dive/dive/filetree.StackTreeRange - 0 0% 100% 14.03MB 26.40% github.com/wagoodman/dive/dive/image.Analyze - 0 0% 100% 32.54MB 61.22% github.com/wagoodman/dive/dive/image/docker.(*engineResolver).Fetch - 0 0% 100% 32.54MB 61.22% github.com/wagoodman/dive/dive/image/docker.NewImageArchive - 0 0% 100% 6.50MB 12.23% github.com/wagoodman/dive/dive/image/docker.getFileList - 0 0% 100% 32.54MB 61.22% github.com/wagoodman/dive/dive/image/docker.processLayerTar - 0 0% 100% 0.57MB 1.06% main.main - 0 0% 100% 0.50MB 0.94% runtime.bgscavenge - 0 0% 100% 0.50MB 0.95% runtime.doInit - 0 0% 100% 0.50MB 0.95% runtime.doInit1 - 0 0% 100% 0.50MB 0.94% runtime.ensureSigM.func1 - 0 0% 100% 1.07MB 2.01% runtime.main - 0 0% 100% 0.50MB 0.94% runtime.mcall - 0 0% 100% 3.51MB 6.60% runtime.mstart - 0 0% 100% 3.51MB 6.60% runtime.mstart0 - 0 0% 100% 3.51MB 6.60% runtime.mstart1 - 0 0% 100% 4.01MB 7.54% runtime.newm - 0 0% 100% 0.50MB 0.94% runtime.newproc.func1 - 0 0% 100% 0.50MB 0.94% runtime.newproc1 - 0 0% 100% 0.50MB 0.94% runtime.park_m - 0 0% 100% 4.01MB 7.54% runtime.resetspinning - 0 0% 100% 4.01MB 7.54% runtime.schedule - 0 0% 100% 0.50MB 0.94% runtime.selectgo - 0 0% 100% 4.01MB 7.54% runtime.startm - 0 0% 100% 0.50MB 0.94% runtime.systemstack - 0 0% 100% 4.01MB 7.54% runtime.wakep diff --git a/cpu-visitor.pprof b/cpu-visitor.pprof deleted file mode 100644 index 8c722f3..0000000 Binary files a/cpu-visitor.pprof and /dev/null differ diff --git a/dive-profiler b/dive-profiler deleted file mode 100755 index 9f6d9e5..0000000 Binary files a/dive-profiler and /dev/null differ diff --git a/dive-test b/dive-test deleted file mode 100755 index 429904c..0000000 Binary files a/dive-test and /dev/null differ diff --git a/dive/dive b/dive/dive deleted file mode 100755 index 912306f..0000000 Binary files a/dive/dive and /dev/null differ diff --git a/dive/main b/dive/main deleted file mode 100755 index 510ad85..0000000 Binary files a/dive/main and /dev/null differ diff --git a/main b/main deleted file mode 100755 index a9c2f2a..0000000 Binary files a/main and /dev/null differ diff --git a/profiling/cpu.pprof b/profiling/cpu.pprof deleted file mode 100644 index 6acb223..0000000 Binary files a/profiling/cpu.pprof and /dev/null differ diff --git a/profiling/cpu.txt b/profiling/cpu.txt deleted file mode 100644 index f09ce40..0000000 --- a/profiling/cpu.txt +++ /dev/null @@ -1,106 +0,0 @@ -File: main -Type: cpu -Time: 2026-01-09 09:00:21 +03 -Duration: 58.87s, Total samples = 3.67s ( 6.23%) -Showing nodes accounting for 3.55s, 96.73% of 3.67s total -Dropped 43 nodes (cum <= 0.02s) - flat flat% sum% cum cum% - 1.84s 50.14% 50.14% 1.85s 50.41% syscall.syscall - 1.32s 35.97% 86.10% 1.32s 35.97% runtime.kevent - 0.12s 3.27% 89.37% 0.12s 3.27% runtime.madvise - 0.06s 1.63% 91.01% 0.06s 1.63% runtime.(*mspan).heapBitsSmallForAddr - 0.03s 0.82% 91.83% 0.03s 0.82% runtime.memclrNoHeapPointers - 0.03s 0.82% 92.64% 0.03s 0.82% runtime.pthread_kill - 0.02s 0.54% 93.19% 0.02s 0.54% bytes.indexFunc - 0.02s 0.54% 93.73% 0.02s 0.54% github.com/cespare/xxhash/v2.writeBlocks - 0.02s 0.54% 94.28% 0.02s 0.54% runtime.casgstatus - 0.02s 0.54% 94.82% 0.02s 0.54% runtime.memmove - 0.02s 0.54% 95.37% 0.02s 0.54% runtime.pthread_cond_wait - 0.01s 0.27% 95.64% 0.02s 0.54% github.com/wagoodman/dive/dive/filetree.(*FileNode).Path - 0.01s 0.27% 95.91% 1.98s 53.95% github.com/wagoodman/dive/dive/image/docker.iterateTar - 0.01s 0.27% 96.19% 1.86s 50.68% net.(*netFD).Read - 0.01s 0.27% 96.46% 0.02s 0.54% runtime.greyobject - 0.01s 0.27% 96.73% 0.12s 3.27% runtime.scanobject - 0 0% 96.73% 0.07s 1.91% archive/tar.(*Reader).Next - 0 0% 96.73% 1.86s 50.68% archive/tar.(*Reader).Read - 0 0% 96.73% 0.07s 1.91% archive/tar.(*Reader).next - 0 0% 96.73% 0.06s 1.63% archive/tar.(*Reader).readHeader - 0 0% 96.73% 1.86s 50.68% archive/tar.(*regFileReader).Read - 0 0% 96.73% 1.86s 50.68% bufio.(*Reader).Read - 0 0% 96.73% 0.02s 0.54% bufio.(*Reader).ReadSlice - 0 0% 96.73% 0.02s 0.54% bufio.(*Reader).fill - 0 0% 96.73% 0.02s 0.54% bytes.IndexFunc - 0 0% 96.73% 2.04s 55.59% github.com/anchore/clio.(*application).WrapRunE.func1.1 - 0 0% 96.73% 2.04s 55.59% github.com/anchore/clio.async.func1 - 0 0% 96.73% 0.02s 0.54% github.com/cespare/xxhash/v2.(*Digest).Write - 0 0% 96.73% 2.04s 55.59% github.com/wagoodman/dive/cmd/dive/cli/internal/command.Root.func2 - 0 0% 96.73% 0.05s 1.36% github.com/wagoodman/dive/cmd/dive/cli/internal/command.run - 0 0% 96.73% 0.05s 1.36% github.com/wagoodman/dive/cmd/dive/cli/internal/command/adapter.analysisActionObserver.Analyze - 0 0% 96.73% 1.99s 54.22% github.com/wagoodman/dive/cmd/dive/cli/internal/command/adapter.imageActionObserver.Fetch - 0 0% 96.73% 0.04s 1.09% github.com/wagoodman/dive/dive/filetree.(*FileNode).AddChild - 0 0% 96.73% 0.05s 1.36% github.com/wagoodman/dive/dive/filetree.(*FileNode).VisitDepthChildFirst - 0 0% 96.73% 0.05s 1.36% github.com/wagoodman/dive/dive/filetree.(*FileTree).AddPath - 0 0% 96.73% 0.05s 1.36% github.com/wagoodman/dive/dive/filetree.(*FileTree).VisitDepthChildFirst - 0 0% 96.73% 0.05s 1.36% github.com/wagoodman/dive/dive/filetree.Efficiency - 0 0% 96.73% 0.04s 1.09% github.com/wagoodman/dive/dive/filetree.Efficiency.func1 - 0 0% 96.73% 1.86s 50.68% github.com/wagoodman/dive/dive/filetree.NewFileInfoFromTarHeader - 0 0% 96.73% 0.03s 0.82% github.com/wagoodman/dive/dive/filetree.NewNode - 0 0% 96.73% 1.86s 50.68% github.com/wagoodman/dive/dive/filetree.getHashFromReader - 0 0% 96.73% 0.05s 1.36% github.com/wagoodman/dive/dive/image.Analyze - 0 0% 96.73% 1.99s 54.22% github.com/wagoodman/dive/dive/image/docker.(*engineResolver).Fetch - 0 0% 96.73% 1.99s 54.22% github.com/wagoodman/dive/dive/image/docker.NewImageArchive - 0 0% 96.73% 1.98s 53.95% github.com/wagoodman/dive/dive/image/docker.processLayerTar - 0 0% 96.73% 0.05s 1.36% github.com/wagoodman/dive/dive/image/docker.processLayerTar.func1 - 0 0% 96.73% 1.86s 50.68% go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp.(*wrappedBody).Read - 0 0% 96.73% 1.85s 50.41% internal/poll.(*FD).Read - 0 0% 96.73% 1.85s 50.41% internal/poll.ignoringEINTRIO - 0 0% 96.73% 1.86s 50.68% io.(*multiReader).Read - 0 0% 96.73% 1.86s 50.68% io.CopyBuffer - 0 0% 96.73% 0.24s 6.54% io.ReadAtLeast - 0 0% 96.73% 0.24s 6.54% io.ReadFull - 0 0% 96.73% 1.86s 50.68% io.copyBuffer - 0 0% 96.73% 1.86s 50.68% net.(*conn).Read - 0 0% 96.73% 1.86s 50.68% net/http.(*body).Read - 0 0% 96.73% 1.86s 50.68% net/http.(*body).readLocked - 0 0% 96.73% 1.86s 50.68% net/http.(*bodyEOFSignal).Read - 0 0% 96.73% 1.86s 50.68% net/http.(*persistConn).Read - 0 0% 96.73% 1.86s 50.68% net/http/internal.(*chunkedReader).Read - 0 0% 96.73% 0.02s 0.54% net/http/internal.(*chunkedReader).beginChunk - 0 0% 96.73% 0.02s 0.54% net/http/internal.readChunkLine - 0 0% 96.73% 0.03s 0.82% runtime.(*gcControllerState).enlistWorker - 0 0% 96.73% 0.03s 0.82% runtime.(*gcWork).balance - 0 0% 96.73% 0.02s 0.54% runtime.(*mcache).nextFree - 0 0% 96.73% 0.02s 0.54% runtime.(*mcache).refill - 0 0% 96.73% 0.02s 0.54% runtime.(*mcentral).cacheSpan - 0 0% 96.73% 0.02s 0.54% runtime.(*mcentral).grow - 0 0% 96.73% 0.12s 3.27% runtime.(*mheap).alloc.func1 - 0 0% 96.73% 0.12s 3.27% runtime.(*mheap).allocSpan - 0 0% 96.73% 0.02s 0.54% runtime.(*mspan).initHeapBits - 0 0% 96.73% 0.06s 1.63% runtime.(*mspan).typePointersOfUnchecked - 0 0% 96.73% 0.02s 0.54% runtime.findObject - 0 0% 96.73% 1.32s 35.97% runtime.findRunnable - 0 0% 96.73% 0.12s 3.27% runtime.gcBgMarkWorker - 0 0% 96.73% 0.17s 4.63% runtime.gcBgMarkWorker.func2 - 0 0% 96.73% 0.17s 4.63% runtime.gcDrain - 0 0% 96.73% 0.03s 0.82% runtime.gcDrainMarkWorkerDedicated - 0 0% 96.73% 0.14s 3.81% runtime.gcDrainMarkWorkerIdle - 0 0% 96.73% 0.02s 0.54% runtime.mPark - 0 0% 96.73% 0.04s 1.09% runtime.mallocgc - 0 0% 96.73% 0.03s 0.82% runtime.mallocgcSmallScanNoHeader - 0 0% 96.73% 1.34s 36.51% runtime.mcall - 0 0% 96.73% 1.32s 35.97% runtime.netpoll - 0 0% 96.73% 0.04s 1.09% runtime.newobject - 0 0% 96.73% 0.02s 0.54% runtime.notesleep - 0 0% 96.73% 1.34s 36.51% runtime.park_m - 0 0% 96.73% 0.02s 0.54% runtime.pollWork - 0 0% 96.73% 0.03s 0.82% runtime.preemptM - 0 0% 96.73% 0.03s 0.82% runtime.preemptone - 0 0% 96.73% 1.33s 36.24% runtime.schedule - 0 0% 96.73% 0.02s 0.54% runtime.semasleep - 0 0% 96.73% 0.03s 0.82% runtime.signalM - 0 0% 96.73% 0.02s 0.54% runtime.stopm - 0 0% 96.73% 0.12s 3.27% runtime.sysUsed - 0 0% 96.73% 0.12s 3.27% runtime.sysUsedOS - 0 0% 96.73% 0.30s 8.17% runtime.systemstack - 0 0% 96.73% 1.85s 50.41% syscall.Read - 0 0% 96.73% 1.85s 50.41% syscall.read diff --git a/profiling/goroutine.pprof b/profiling/goroutine.pprof deleted file mode 100644 index 5fd3e93..0000000 Binary files a/profiling/goroutine.pprof and /dev/null differ diff --git a/profiling/goroutine.txt b/profiling/goroutine.txt deleted file mode 100644 index 111d531..0000000 --- a/profiling/goroutine.txt +++ /dev/null @@ -1,21 +0,0 @@ -File: main -Type: goroutine -Time: 2026-01-09 09:01:20 +03 -Showing nodes accounting for 4, 100% of 4 total - flat flat% sum% cum cum% - 2 50.00% 50.00% 2 50.00% runtime.gopark - 1 25.00% 75.00% 1 25.00% runtime.goroutineProfileWithLabels - 1 25.00% 100% 1 25.00% runtime.sigNoteSleep - 0 0% 100% 1 25.00% github.com/anchore/clio.(*application).Run.func3 - 0 0% 100% 1 25.00% main.main - 0 0% 100% 1 25.00% os/signal.loop - 0 0% 100% 1 25.00% os/signal.signal_recv - 0 0% 100% 1 25.00% runtime.chanrecv - 0 0% 100% 1 25.00% runtime.chanrecv1 - 0 0% 100% 1 25.00% runtime.main - 0 0% 100% 1 25.00% runtime.pprof_goroutineProfileWithLabels - 0 0% 100% 1 25.00% runtime/pprof.(*Profile).WriteTo - 0 0% 100% 1 25.00% runtime/pprof.profileWriter - 0 0% 100% 1 25.00% runtime/pprof.writeGoroutine - 0 0% 100% 1 25.00% runtime/pprof.writeRuntimeProfile - 0 0% 100% 1 25.00% time.Sleep diff --git a/profiling/mem.pprof b/profiling/mem.pprof deleted file mode 100644 index e2e4b8b..0000000 Binary files a/profiling/mem.pprof and /dev/null differ diff --git a/profiling/mem.txt b/profiling/mem.txt deleted file mode 100644 index c6de5f4..0000000 --- a/profiling/mem.txt +++ /dev/null @@ -1,78 +0,0 @@ -File: main -Type: inuse_space -Time: 2026-01-09 09:01:20 +03 -Showing nodes accounting for 41178.41kB, 100% of 41178.41kB total - flat flat% sum% cum cum% -13825.90kB 33.58% 33.58% 13825.90kB 33.58% github.com/wagoodman/dive/dive/filetree.NewNode - 7214.10kB 17.52% 51.09% 21040kB 51.09% github.com/wagoodman/dive/dive/filetree.(*FileNode).AddChild - 6144.81kB 14.92% 66.02% 12289.34kB 29.84% archive/tar.(*Reader).readHeader - 6144.52kB 14.92% 80.94% 6144.52kB 14.92% archive/tar.(*parser).parseString - 4104kB 9.97% 90.91% 4104kB 9.97% runtime.allocm - 1184.27kB 2.88% 93.78% 1184.27kB 2.88% runtime/pprof.StartCPUProfile - 512.69kB 1.25% 95.03% 512.69kB 1.25% regexp/syntax.(*compiler).inst - 512.05kB 1.24% 96.27% 512.05kB 1.24% runtime.acquireSudog - 512.03kB 1.24% 97.51% 512.03kB 1.24% reflect.(*rtype).ptrTo - 512.02kB 1.24% 98.76% 512.02kB 1.24% github.com/awesome-gocui/keybinding.ParseAll - 512.01kB 1.24% 100% 512.01kB 1.24% encoding/json.typeFields - 0 0% 100% 12289.34kB 29.84% archive/tar.(*Reader).Next - 0 0% 100% 12289.34kB 29.84% archive/tar.(*Reader).next - 0 0% 100% 512.01kB 1.24% encoding/json.(*Decoder).Decode - 0 0% 100% 512.01kB 1.24% encoding/json.(*decodeState).object - 0 0% 100% 512.01kB 1.24% encoding/json.(*decodeState).unmarshal - 0 0% 100% 512.01kB 1.24% encoding/json.(*decodeState).value - 0 0% 100% 512.01kB 1.24% encoding/json.cachedTypeFields - 0 0% 100% 1024.05kB 2.49% github.com/anchore/clio.(*application).Run - 0 0% 100% 1024.05kB 2.49% github.com/anchore/clio.(*application).Setup.func1 - 0 0% 100% 33841.34kB 82.18% github.com/anchore/clio.(*application).WrapRunE.func1.1 - 0 0% 100% 1024.05kB 2.49% github.com/anchore/clio.(*application).loadConfigs - 0 0% 100% 1024.05kB 2.49% github.com/anchore/clio.(*application).setupCommand.func1 - 0 0% 100% 33841.34kB 82.18% github.com/anchore/clio.async.func1 - 0 0% 100% 1024.05kB 2.49% github.com/anchore/fangs.Load - 0 0% 100% 512.03kB 1.24% github.com/anchore/fangs.configureViper - 0 0% 100% 1024.05kB 2.49% github.com/anchore/fangs.loadConfig - 0 0% 100% 512.02kB 1.24% github.com/anchore/fangs.postLoad - 0 0% 100% 512.02kB 1.24% github.com/anchore/fangs.postLoadStruct - 0 0% 100% 512.01kB 1.24% github.com/docker/cli/cli/config.Load - 0 0% 100% 512.01kB 1.24% github.com/docker/cli/cli/config.load - 0 0% 100% 512.01kB 1.24% github.com/docker/cli/cli/config/configfile.(*ConfigFile).LoadFromReader - 0 0% 100% 512.69kB 1.25% github.com/google/pprof/profile.init - 0 0% 100% 1024.05kB 2.49% github.com/spf13/cobra.(*Command).Execute - 0 0% 100% 1024.05kB 2.49% github.com/spf13/cobra.(*Command).ExecuteC - 0 0% 100% 1024.05kB 2.49% github.com/spf13/cobra.(*Command).execute - 0 0% 100% 33841.34kB 82.18% github.com/wagoodman/dive/cmd/dive/cli/internal/command.Root.func2 - 0 0% 100% 33841.34kB 82.18% github.com/wagoodman/dive/cmd/dive/cli/internal/command/adapter.imageActionObserver.Fetch - 0 0% 100% 512.02kB 1.24% github.com/wagoodman/dive/cmd/dive/cli/internal/options.(*UIKeybindings).PostLoad - 0 0% 100% 512.02kB 1.24% github.com/wagoodman/dive/cmd/dive/cli/internal/options.createKeyBindings - 0 0% 100% 512.02kB 1.24% github.com/wagoodman/dive/cmd/dive/cli/internal/ui/v1/key.(*Config).Setup - 0 0% 100% 21040kB 51.09% github.com/wagoodman/dive/dive/filetree.(*FileTree).AddPath - 0 0% 100% 33841.34kB 82.18% github.com/wagoodman/dive/dive/image/docker.(*engineResolver).Fetch - 0 0% 100% 512.01kB 1.24% github.com/wagoodman/dive/dive/image/docker.(*engineResolver).fetchArchive - 0 0% 100% 33329.34kB 80.94% github.com/wagoodman/dive/dive/image/docker.NewImageArchive - 0 0% 100% 512.01kB 1.24% github.com/wagoodman/dive/dive/image/docker.determineDockerHost - 0 0% 100% 33329.34kB 80.94% github.com/wagoodman/dive/dive/image/docker.iterateTar - 0 0% 100% 33329.34kB 80.94% github.com/wagoodman/dive/dive/image/docker.processLayerTar - 0 0% 100% 21040kB 51.09% github.com/wagoodman/dive/dive/image/docker.processLayerTar.func1 - 0 0% 100% 2208.33kB 5.36% main.main - 0 0% 100% 512.03kB 1.24% reflect.Value.Addr - 0 0% 100% 512.02kB 1.24% reflect.Value.Call - 0 0% 100% 512.02kB 1.24% reflect.Value.call - 0 0% 100% 512.03kB 1.24% reflect.ptrTo - 0 0% 100% 512.69kB 1.25% regexp.Compile - 0 0% 100% 512.69kB 1.25% regexp.MustCompile - 0 0% 100% 512.69kB 1.25% regexp.compile - 0 0% 100% 512.69kB 1.25% regexp/syntax.Compile - 0 0% 100% 512.69kB 1.25% runtime.doInit - 0 0% 100% 512.69kB 1.25% runtime.doInit1 - 0 0% 100% 512.05kB 1.24% runtime.ensureSigM.func1 - 0 0% 100% 2721.02kB 6.61% runtime.main - 0 0% 100% 1026kB 2.49% runtime.mcall - 0 0% 100% 3078kB 7.47% runtime.mstart - 0 0% 100% 3078kB 7.47% runtime.mstart0 - 0 0% 100% 3078kB 7.47% runtime.mstart1 - 0 0% 100% 4104kB 9.97% runtime.newm - 0 0% 100% 1026kB 2.49% runtime.park_m - 0 0% 100% 4104kB 9.97% runtime.resetspinning - 0 0% 100% 4104kB 9.97% runtime.schedule - 0 0% 100% 512.05kB 1.24% runtime.selectgo - 0 0% 100% 4104kB 9.97% runtime.startm - 0 0% 100% 4104kB 9.97% runtime.wakep