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

[V8] About TurboFan #3

Open
a0viedo opened this issue Aug 8, 2016 · 4 comments
Open

[V8] About TurboFan #3

a0viedo opened this issue Aug 8, 2016 · 4 comments

Comments

@a0viedo
Copy link
Owner

a0viedo commented Aug 8, 2016

Acording to AWFY, V8 without Crankshaft it's not getting any closer in terms of performance. Are they planning to move all the optimizations or they act as complementary optimizing compilers?

@bmeurer
Copy link

bmeurer commented Aug 11, 2016

Actually TurboFan is getting closer to Crankshaft, but in smaller increments at the moment. We are planning to roll out TurboFan incrementally together with Ignition (the new bytecode interpreter), so we are focusing our efforts on that currently. The configuration shown on AreWeFastYet, which is Fullcodegen+TurboFan will probably never fully materialize in the wild. The long-term plan is to completely remove Fullcodegen and Crankshaft.

Also note that TurboFan serves many purposes in Chrome/V8. For example TurboFan is also used as backend for the Ignition interpreter bytecode handlers, and we're also switching most of our code generation for EcmaScript builtins to TurboFan, which gave nice speedups in real world websites already (for example we could noticeably improve sites using frameworks like React or Ember.js, and at the same time we were able to improve Facebook load time, etc.). So the graph on AWFY only shows a very tiny fraction of the overall TurboFan impact.

@a0viedo
Copy link
Owner Author

a0viedo commented Aug 11, 2016

@bmeurer thanks for the insight! So if I understand the implications of what you said, Ignition will take the place of the low-latency JIT, right?

@bmeurer
Copy link

bmeurer commented Aug 11, 2016

It will take the place of the first tier, yes.

@hashseed
Copy link

Also, wasm.

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

No branches or pull requests

3 participants