2 ms·
Inter-process communication is much, much slower than a native function-call. (Native function calls are almost free, especially on modern CPUs which are very g
by MaxBarraclough 5y ago
Inter-process communication is much, much slower than a native function-call. (Native function calls are almost free, especially on modern CPUs which are very good at dealing with them.) Spinning up a whole new process is vastly slower still, taking (iirc) hundreds of thousands of instructions.
> so long as it was done within a promise.
I don't see how it would help things to wrap it up with concurrency abstractions. That won't make the cost go away.