分析JS内存。
在线地址:https://linjinze999.github.io/js-memory/
- 安装:
npm install js-memory
- 使用:
import { V8Snapshot } from "js-memory";
const snapshot = new V8Snapshot({text: "heapsnapshot文件内容"});
const statistics = snapshot.calculateStatistics();
npm install
npm run dev