Message 178312 - Python tracker
Numbers when running on Linux on a laptop with 2 cores + hyperthreading.
RUNNING UNITTESTS:
fork:
real 0m50.687s
user 0m9.213s
sys 0m4.012s
fork+exec:
real 1m9.062s
user 0m48.579s
sys 0m6.648s
forkserver:
real 0m50.702s
user 0m4.140s # excluding descendants
sys 0m0.708s # excluding descendants
LATENCY:
fork: 0.0071 secs/proc
fork+exec: 0.0622 secs/proc
forkserver: 0.0035 secs/proc
Still 4 times the cpu time and 10 times the latency. But the latency is far lower than in the VM.