Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look at V8 De-Optimization List (--trace-opt) #55

Open
hostilefork opened this issue Apr 14, 2019 · 0 comments
Open

Look at V8 De-Optimization List (--trace-opt) #55

hostilefork opened this issue Apr 14, 2019 · 0 comments

Comments

@hostilefork
Copy link
Owner

hostilefork commented Apr 14, 2019

From: "Writing Memory-Efficient JavaScript"

"Certain patterns will cause V8 to bail out of optimizations. A try-catch, for example, will cause such a bailout. For more information on what functions can and can’t be optimized, you can use --trace-opt file.js with the d8 shell utility that comes with V8."

In addition to whatever WASM profiling, looking at whatever this is could be good.

There's a fair number of other pointers in that article that are probably worth looking into, at some point--not for micro-optimization, but maybe just getting a feeling for what sorts of things are taking time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant