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

Richard Purdie richard.purdie at linuxfoundation.org
Wed Jun 17 21:03:23 UTC 2015


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.

Cheers,

Richard






More information about the Openembedded-core mailing list