0.0.10 • Published 12 years ago

profile v0.0.10

Weekly downloads
47
License
-
Repository
-
Last release
12 years ago

node-profile

A script that makes profiling node.js apps a little easier. Compatible with node v0.6.x

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.

Pre-configuration

$ cd /usr/src/node
$ cd deps/v8
$ scons prof=on
$ export PATH="${PATH}:/usr/src/node/deps/v8"

Output

0.0.10

12 years ago

0.0.9

13 years ago

0.0.8

13 years ago

0.0.7

13 years ago

0.0.6

13 years ago

0.0.5

13 years ago

0.0.4

13 years ago

0.0.3

13 years ago

0.0.2

13 years ago

0.0.1

13 years ago