]> code.ossystems Code Review - openembedded-core.git/commit
gen-lockedsig-cache: Replace glob lookup with hash to filename lookup
authorKonrad Scherer <Konrad.Scherer@windriver.com>
Fri, 27 Sep 2019 18:56:42 +0000 (14:56 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 2 Oct 2019 13:41:22 +0000 (14:41 +0100)
commitad36335b8592e0387dd36066920cd5ffefd375f8
treed50c3669297b05b5abbe80340d758200d262807c
parentf5259a62d444dfc221a9ba592dbca35564f794ac
gen-lockedsig-cache: Replace glob lookup with hash to filename lookup

Using the glob function to map signatures to sstate files is very slow
when the sstate is large and accessed over nfs. The lookup now only
loads the necessary prefixes and doesn't use glob as all.

Unfortunately I don't have access to the systems where the performance
isse was noticed and on my test system the glob is fast enough that
the performance numbers aren't useful. I could verify that file list
returned by the new code is the same.

[YOCTO #13539]

Signed-off-by: Konrad Scherer <Konrad.Scherer@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/gen-lockedsig-cache