fredrick / node-profile

A script that makes profiling node.js apps a little easier.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-profile

A script that makes profiling node.js apps a little easier.

Installation

Via npm:

$ npm install profile

Usage

Output to stdout

> nodeprofile yourapp.js

Output to file

> nodeprofile yourapp.js -o=profile.txt

Lazy profiling (profiling disabled on startup)

This is useful if you want to profile certain areas of your code using bnoordhuis/node-profiler:

> nodeprofile yourapp.js --prof_lazy

"Dependencies"

  • python
  • SCONS (used to build the V8 debugger on first use)
  • That the locate command can find a copy of linux-tick-processor (or mac-tick-processor on OS X). This is bundled with node.js.

Output

About

A script that makes profiling node.js apps a little easier.

License:MIT License


Languages

Language:JavaScript 86.8%Language:Shell 13.2%