3 ms·
It looks like you can leverage this: https://v8.dev/blog/improved-code-caching https://v8.dev/blog/improved-code-caching using this: https://www.npmjs.com/pa
by tyingq 8y ago
It looks like you can leverage this:
https://v8.dev/blog/improved-code-caching https://v8.dev/blog/improved-code-caching
using this:
https://www.npmjs.com/package/v8-compile-cache https://www.npmjs.com/package/v8-compile-cache
Or see the options with "cache" in their name, here: https://nodejs.org/api/vm.html#vm_new_vm_script_code_options https://nodejs.org/api/vm.html#vm_new_vm_script_code_options
- Bogdanp 8y agoThanks! Looks like the first link answers my question.