Isolate.spawnUri seems to be slower than starting a new VM in another process (on macos) #42183
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
This came up here dart-lang/pub#2492
@mkustermann @a-siva
I made a small reproduction:
I would have expected using an isolate would save some time by sharing some amount of resources, or at least be on par with starting a new process.
Using an isolate is slightly faster if I don't snapshot the spawning script.
This was measured on macos.
On my linux machine using an isolate seems to be faster (note here I use a dev-version, just what I had in my path...):
The text was updated successfully, but these errors were encountered: