bitbake: bin/bitbake/cooker: Ensure initial featureset is optimal
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Mar 2014 11:09:19 +0000 (11:09 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 30 Mar 2014 09:10:36 +0000 (10:10 +0100)
commit9f6cfb7743a2c15717a986426b9f15371f907ff6
tree52718974ed82a269e9bf266bd3714f6ba3179faa
parent2e19ff1afefccc8159ed5a4778e0784f3bce7aec
bitbake: bin/bitbake/cooker: Ensure initial featureset is optimal

If the featureset didn't match the defaults, we'd pay the price of two
base configuration parses which showed up adversely in the performance
benchmarks. This also passes the feature set into the cooker creation so
in the common case we don't have to reset the server. This speeds up
both knotty and hob startup. If the featureset doesn't match, the system
will reset as before, this just streamlines the common case.

(Bitbake rev: 1249543c4dbf3edeac033d888497864cfc807a4e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/bin/bitbake
bitbake/lib/bb/cooker.py