Message332210
| Author |
vstinner |
| Recipients |
gregory.p.smith, izbyshev, nanjekyejoannah, vstinner |
| Date |
2018年12月20日.10:50:04 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1545303004.68.0.788709270274.issue35537@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Benchmark on macOS Mojave (10.14.2), x86_64:
$ ./python.exe -m perf compare_to fork_exec.json posix_spawn.json
Mean +- std dev: [fork_exec] 2.79 ms +- 0.06 ms -> [posix_spawn] 1.64 ms +- 0.03 ms: 1.70x faster (-41%)
The speedup is "only" 1.7x faster, it's less impressive. Maybe fork()+exec() is more efficient on macOS than on Linux. |
|