Skip to content

JS code caching #74

@karliky

Description

@karliky

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions