]> code.ossystems Code Review - openembedded-core.git/commit
python3: use regrtest instead of PyBench for profile-guided-optimisation
authorRoss Burton <ross.burton@intel.com>
Thu, 6 Sep 2018 11:15:21 +0000 (12:15 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 7 Sep 2018 16:48:32 +0000 (17:48 +0100)
commit98b2b6c3eae15d9b84c97c6a1495040f6b7e389a
treeb527f2396aa301f7160f7ce93f27ee736eb93e07
parent1781b87ae0765c1867da2fa8c56bf988b4e84405
python3: use regrtest instead of PyBench for profile-guided-optimisation

PyBench takes a long time to run, also upstream have removed it from Python and
instead use test.regrtest —pgo to profile the interpreter.

The results are good: not only does Python compile faster (~300s vs ~600s on my
machine) but Phoronix’s PyBench test runs in 2130ms compared to 2229ms when
using PyBench to train (and 2345ms with PGO disabled).

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3_3.5.5.bb