Created
May 31, 2015 22:20
-
-
Save ngryman/d632054f7836d606b2aa to your computer and use it in GitHub Desktop.
Trace optimizations in v8
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
// warm up | |
fn() | |
fn() | |
// try to optimize | |
;%OptimizeFunctionOnNextCall(compare) | |
// call optimized | |
fn() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run with
node --trace-opt --trace-deopt --code-comments --allow-natives-syntax trace.js