Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 550 Bytes

README.md

File metadata and controls

16 lines (9 loc) · 550 Bytes

v8-profiler Build Status

node.js bindings for the v8 profiler

Installation

npm install https://github.com/Skomski/v8-profiler/tarball/v3.7.1

Usage

var profiler = require('v8-profiler');

var heapshot = profiler.heapshot([name]);  // takes a heapSnapshot

profiler.startProfiling([name]);                  // start cpu profiling
var cpuProfile = profiler.stopProfiling([name]);  // stop cpu profiling