diff options
author | Ross Burton <ross.burton@intel.com> | 2018-09-06 12:15:21 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-07 17:48:32 +0100 |
commit | 98b2b6c3eae15d9b84c97c6a1495040f6b7e389a (patch) | |
tree | b527f2396aa301f7160f7ce93f27ee736eb93e07 /scripts/lib/recipetool/create_buildsys_python.py | |
parent | 1781b87ae0765c1867da2fa8c56bf988b4e84405 (diff) | |
download | openembedded-core-98b2b6c3eae15d9b84c97c6a1495040f6b7e389a.tar.gz openembedded-core-98b2b6c3eae15d9b84c97c6a1495040f6b7e389a.tar.bz2 openembedded-core-98b2b6c3eae15d9b84c97c6a1495040f6b7e389a.zip |
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>
Diffstat (limited to 'scripts/lib/recipetool/create_buildsys_python.py')
0 files changed, 0 insertions, 0 deletions