ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

heap-dump

内存快照分析(v8 heap snapshot)+ 性能分析(perf_hooks)

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/amd5/heap-dump
Or

Heap Dump & Profiler — 内存与性能分析

版本: 1.0.1
创建日期: 2026-04-13
更新日期: 2026-04-14


📋 功能

功能说明
heap-dump生成 v8 堆快照,Chrome DevTools 分析
profilerperf_hooks 性能分析(start/checkpoint/end/report)

📂 文件结构

skills/heap-dump/
├── SKILL.md
├── skill.json
└── scripts/
    ├── heap-dump.js     # 内存快照生成
    └── profiler.js      # 性能分析工具

🔧 用法

# 内存快照
node skills/heap-dump/scripts/heap-dump.js snapshot

# 性能分析
node skills/heap-dump/scripts/profiler.js start "任务名"   # 开始
node skills/heap-dump/scripts/profiler.js checkpoint "阶段" # 标记点
node skills/heap-dump/scripts/profiler.js end              # 结束
node skills/heap-dump/scripts/profiler.js report           # 生成报告

📊 触发方式

  • 手动触发(按需使用的诊断工具,无需自动化)

⚠️ 注意事项

  • heap snapshot 文件较大,建议分析后删除
  • profiler 输出写入 memory/perf/ 目录
  • 已合并 headless-profiler 功能

Metadata

Author@amd5
Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-amd5-heap-dump": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.