rampant
v0.0.2
Published
Easy profiling on Mac OS X using Google Chrome Canary's frontend.
Downloads
4
Readme
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
- Requires Mac OS X.
- Requires Google Chrome Canary.
- 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.