Message332210
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. |
|
| Date |
User |
Action |
Args |
| 2018-12-20 10:50:04 | vstinner | set | recipients:
+ vstinner, gregory.p.smith, izbyshev, nanjekyejoannah |
| 2018-12-20 10:50:04 | vstinner | set | messageid: <1545303004.68.0.788709270274.issue35537@psf.upfronthosting.co.za> |
| 2018-12-20 10:50:04 | vstinner | link | issue35537 messages |
| 2018-12-20 10:50:04 | vstinner | create | |
|