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

Cache compiled code #6

Open
airhorns opened this issue Jan 23, 2021 · 0 comments
Open

Cache compiled code #6

airhorns opened this issue Jan 23, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@airhorns
Copy link
Contributor

https://www.npmjs.com/package/v8-compile-cache caches the results of v8 compiling a module on disk in a big file, and then adds a require hook to fish out the results from that cache. We could do the same, but pin the cache in memory and feed it to new child processes.

@airhorns airhorns added the enhancement New feature or request label Jan 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant