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

bootstrap: lazy load non-essential modules #45659

Merged
merged 1 commit into from Dec 9, 2022

Commits on Dec 8, 2022

  1. bootstrap: lazy load non-essential modules

    It turns out that even with startup snapshots, there is a non-trivial
    overhead for loading internal modules. This patch makes the loading
    of the non-essential modules lazy again.
    
    Caveat: we have to make some of the globals lazily-loaded too,
    so the WPT runner is updated to test what the state of the global
    scope is after the globals are accessed (and replaced with the
    loaded value).
    joyeecheung committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    78b38b9 View commit details
    Browse the repository at this point in the history