[issue46551] Provide number of workers option for fast PGO build time

2022-01-27 Thread Dong-hee Na
Dong-hee Na added the comment: > You only test libregrtest.main and libregrtest.runtest_mp modules which > > don't execute code. Does it mean that running tests is useless to train > the > PGO? Sorry, I didn't check all affects except performance regression, and there was already related dis

[issue46551] Provide number of workers option for fast PGO build time

2022-01-27 Thread STINNER Victor
STINNER Victor added the comment: > When I tested with run -m test --pgo -j8, it doesn't affect to optimized > result with fast build time. You only test libregrtest.main and libregrtest.runtest_mp modules which don't execute code. Does it mean that running tests is useless to train the PGO?

[issue46551] Provide number of workers option for fast PGO build time

2022-01-27 Thread Dong-hee Na
New submission from Dong-hee Na : Compiling CPython with the PGO option is good for CPython performance but compile time is very painful since PGO profiling is executed with a single thread. When I tested with run -m test --pgo -j8, it doesn't affect to optimized result with fast build time.