Flamegraph Analyzer

Turn a CPU profile or flamegraph into a concrete optimization instead of guessing where the time goes: capture under a realistic workload with a sampling profiler, read the graph correctly (width = time, depth ≠ time), find the widest self-time leaves, ask if that work is necessary/redundant/algorithmically wrong, fix the biggest contributor, then re-profile. Use when code is CPU-bound and slow, a function is hot but you don't know which part, or you have a profile you can't interpret.

imtiazrayhan ea028bb 6.7 KB Updated

File contents

imtiazrayhan/agentscamp-library/tree/main/skills/flamegraph-analyzer commit ea028bbb46

Frequently asked questions

npx skillmds@latest add imtiazrayhan/flamegraph-analyzer