Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

node bindings for the v8 profiler

branch: master

This branch is 0 commits ahead and 0 commits behind master

1 comment

Include retainers in heap view. Might be a little slow, but otherwise…

… it's nearly impossible to debug memory leaks.
latest commit 27435c1e71
Felix Gnass authored April 06, 2011
Octocat-spinner-32 .gitignore initial commit November 26, 2010
Octocat-spinner-32 graph_edge.cc build on node 0.3.1 December 03, 2010
Octocat-spinner-32 graph_edge.h broke out classes November 27, 2010
Octocat-spinner-32 graph_node.cc build on node 0.3.2-pre December 06, 2010
Octocat-spinner-32 graph_node.h added cpu profiler December 01, 2010
Octocat-spinner-32 graph_path.cc broke out classes November 27, 2010
Octocat-spinner-32 graph_path.h broke out classes November 27, 2010
Octocat-spinner-32 package.json build on node 0.3.1 December 03, 2010
Octocat-spinner-32 profile.cc added cpu profiler December 01, 2010
Octocat-spinner-32 profile.h added cpu profiler December 01, 2010
Octocat-spinner-32 profile_node.cc added cpu profiler December 01, 2010
Octocat-spinner-32 profile_node.h added cpu profiler December 01, 2010
Octocat-spinner-32 profiler.cc added cpu profiler December 01, 2010
Octocat-spinner-32 readme.md stubbed readme December 01, 2010
Octocat-spinner-32 snapshot.cc broke out classes November 27, 2010
Octocat-spinner-32 snapshot.h broke out classes November 27, 2010
Octocat-spinner-32 snapshot_diff.cc broke out classes November 27, 2010
Octocat-spinner-32 snapshot_diff.h broke out classes November 27, 2010
Octocat-spinner-32 v8-profiler.js Include retainers in heap view. Might be a little slow, but otherwise… April 06, 2011
Octocat-spinner-32 wscript added cpu profiler December 01, 2010
readme.md

v8-profiler provides node bindings for the v8 profiler and integration with node-inspector

Installation

    npm install v8-profiler

Usage

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

API

    var snapshot = profiler.takeSnapshot([name])      //takes a heap snapshot

    profiler.startProfiling([name])                   //begin cpu profiling
    var cpuProfile = profiler.stopProfiling([name])   //finish cpu profiling

node-inspector

Cpu profiles can be viewed and heap snapshots may be taken and viewed from the profiles panel.

Something went wrong with that request. Please try again.