Speeding up subprocess/deno.run #14025
Unanswered
joelkennedy
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm running a webserver with Deno which executes third party code. To isolate that code, I'm using Deno.run to create a new Deno instance to sandbox it, but also to set a memory limit on that code via V8 flags.
At the moment, Deno is taking about 40-50ms to start a new Deno instance via Deno.run, for it to
console.log('Hello World')
andself.close()
. Is there a way of speeding this up at all? Perhaps passing in a V8 flag or an alternative to Deno.run?Beta Was this translation helpful? Give feedback.
All reactions