cpu-profile-analysis
Analyzes V8/Chrome CPU profiles and DevTools trace files to find performance bottlenecks, slow functions, and timing issues.
What it does
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-*.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating user timing marks.
Quality judgment
Exceptionally thorough and well-organized skill document covering both .cpuprofile and Trace-*.json formats with detailed procedures, code examples, and a robust buffer-based parsing strategy for large files. Trigger conditions are clearly enumerated, structure is logical (format → procedure → tips), and practical guidance like memory flags and idle-sample filtering is included. Minor gaps: no worked end-to-end example showing input → output, and trigger phrasing could be slightly more specific about file-extension matching.