Last active
December 14, 2015 15:19
-
-
Save mhart/5107424 to your computer and use it in GitHub Desktop.
Create nprof executable based on current node version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(curl https://raw.github.com/bnoordhuis/node-profiler/master/tools/nprof-stub.js; \ | |
for file in splaytree codemap csvparser consarray profile profile_view logreader tickprocessor tickprocessor-driver; \ | |
do curl https://raw.github.com/joyent/node/$(node --version)/deps/v8/tools/$file.js; \ | |
done) > nprof && chmod +x nprof |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment