[OE-core] [PATCH] python: Add performance patches from upstream 2.7 branch

Khem Raj raj.khem at gmail.com
Sun Aug 16 08:47:12 UTC 2015


> On Jun 17, 2015, at 2:03 PM, Richard Purdie <richard.purdie at linuxfoundation.org> wrote:
> 
> On Wed, 2015-06-17 at 14:10 +0100, Richard Purdie wrote:
>> These performance patches result in about a 25% speed up of our parsing
>> speed with bitbake. They're already applied in 1.7 upstream and backported
>> from 3.X so worth applying for 2.7 too.
> 
> Sadly, this was too good to be true. I'd messed up the test environment
> and the 25% is Ubuntu's python verses the one from OE. Ubuntu's uses PGO
> whereas ours does not which is likely where the speed comes from. The
> patches in this series do give a small speedup, but its more like
> 0.5-1%. Shows that PGO is likely worth investigating further though.
> 

25% is too good to ignore. Have you opened a tracker for this ?
and python has needed workload for generating profile data pybench and pydes benchmarks are there
in source tree.

we need to compile twice.

compile with -fprofile-generate
run make run_profile_task
compile with -fprofile-use -fprofile-correction

So it should be straight forwards to try it out, do you still have the environment ?

> Cheers,
> 
> Richard
> 
> 
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150816/aa64b4a6/attachment-0002.sig>


More information about the Openembedded-core mailing list