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

JS code caching #74

Open
karliky opened this issue Apr 24, 2018 · 0 comments
Open

JS code caching #74

karliky opened this issue Apr 24, 2018 · 0 comments

Comments

@karliky
Copy link
Collaborator

karliky commented Apr 24, 2018

Improved code caching

V8 uses code caching to cache the generated code for frequently-used scripts. Starting with Chrome 66, we are caching more code by generating the cache after top-level execution. This leads to a 20-40% reduction in parse and compilation time during the initial load.

Please note that:

  • V8 uses two kinds of code caching to cache generated code to be reused later.
  • The first is the in-memory cache that is available within each instance of V8.
  • The other kind of code caching serializes the generated code and stores it on disk for future use.

https://v8project.blogspot.com.es/2018/04/improved-code-caching.html

@Kikobeats Kikobeats changed the title JS code Caching [v8] JS code caching May 5, 2018
@Kikobeats Kikobeats added the v8 label May 5, 2018
@Kikobeats Kikobeats changed the title [v8] JS code caching JS code caching May 5, 2018
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

2 participants