rampant

Easy profiling on Mac OS X using Google Chrome Canary's frontend.

npm install rampant
2 downloads in the last week
9 downloads in the last month

Rampant

Rampant launches your Node.js application into a profiler session using node-webkit-agent paired with the Developer Tools frontend inside Google Chrome Canary.

Caveats

  1. Requires Mac OS X.
  2. Requires Google Chrome Canary.
  3. Does not work if your app depends on STDIN.

Install

npm install rampant

Usage

./node_modules/.bin/rampant /path/to/your/file.js [arguments]

Note: You must provide a fully-qualified path for your script to workaround my shortcomings of path handling. Here's how I workaround this problem in Yeti.

Disclaimer

Rampant depends on bleeding edge Google Chrome to work correctly with node-webkit-agent and Node.js. If you expect this software to work flawlessly, you've chosen the wrong software.

As of the time of this writing, using Rampant is a lot easier than using node-webkit-agent by hand.

If you need a debugger, check out node-inspector because node-webkit-agent does not implement the debugger protocol.

License

BSD. See LICENSE file.

Author

Reid Burke, Yahoo! Inc.

npm loves you