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

src: add snapshot support for embedder API #45888

Closed
wants to merge 7 commits into from

Commits on Jan 30, 2023

  1. src: add snapshot support for embedder API

    Add experimental support for loading snapshots in the embedder API
    by adding a public opaque wrapper for our `SnapshotData` struct and
    allowing embedders to pass it to the relevant setup functions.
    Where applicable, use these helpers to deduplicate existing code
    in Node.js’s startup path.
    
    This has shown a 40 % startup performance increase for a real-world
    application, even with the somewhat limited current support for
    built-in modules.
    
    The documentation includes a note about no guarantees for API or
    ABI stability for this feature while it is experimental.
    addaleax committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    bcab058 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2e9b27a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    598221a View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2023

  1. Configuration menu
    Copy the full SHA
    7e72ecc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a4981ba View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    689f603 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2023

  1. Configuration menu
    Copy the full SHA
    a136c28 View commit details
    Browse the repository at this point in the history