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

build: create V8 code cache after script is run #21567

Closed
wants to merge 1 commit into from

Commits on Jul 23, 2018

  1. build: create V8 code cache after script is run

    This patch makes it possible to generate the code cache
    for the builtins directly from the original script object
    (instead of compiling a new one) and after the script has
    been run (via `NativeModule.require`). Before this patch
    only the top level functions (the wrapped ones)
    are included in the cache, after this patch the inner
    functions in those modules will be included as well.
    
    Also blacklists modules from dependencies like V8 and
    node-inspect since we cannot guarantee that they are suitable
    to be executed directly.
    joyeecheung committed Jul 23, 2018
    Configuration menu
    Copy the full SHA
    7365d3f View commit details
    Browse the repository at this point in the history