AGENT SKILL

drin-performance-profiling-node

Specialized workflow for identifying memory leaks and CPU bottlenecks in Node.js applications.

License 许可
MIT
最近更新
2026-04-11
Stars
★ 12
Forks
1

01 前言 Front Matter

name
drin-performance-profiling-node
status
production
description
Specialized workflow for identifying memory leaks and CPU bottlenecks in Node.js applications.

03 SKILL.md 正文

Performance Profiling (Node.js)

Purpose

To ensure the application remains fast and resource-efficient under load.

Techniques

  1. Heap Snapshot: Analyzing memory distribution to find leaks.
  2. CPU Profile: Identifying which functions are blocking the event loop.
  3. Flame Graphs: Visualizing the execution stack to find "Hot" paths.
  4. GC Logs: Analyzing Garbage Collection frequency and duration.

Rules

  • Always profile under realistic load (use @load-test skill).
  • Identify "One-off" spikes vs. "Linear" growth trends.

04 同仓库更多 Skills