Created
October 15, 2016 05:06
-
-
Save hexsprite/fcffe47f814f41402a41273d2e79029f to your computer and use it in GitHub Desktop.
Profiling Meteor with v8-profiler from meteor shell
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
profiler = require('v8-profiler') | |
profiler.startProfiler() | |
profile = profiler.stopProfiler() | |
profile.export().pipe(fs.createWriteStream('profile.json')).on('finish', function() { profile.delete(); }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment