[oe] any reason to not cache `opkg list`?
AJ ONeal
coolaj86 at gmail.com
Thu Nov 25 19:56:25 UTC 2010
> root at quokka:~# time opkg list > /dev/null
> real 0m 2.78s
> user 0m 2.50s
> sys 0m 0.26s
>
> Ok, so its not the quickest. Opkg has to read in the package info and
> parse it each time.
>
> What is your use case for needing to call 'opkg list' so frequently
> that this becomes painful?
>
I often search for packages available in the Angstrom repo before
bitbake-ing my own with OE.
My gumstix overo I use like a regular development server.
It has a faster processor, but my results are much slower than yours.
time opkg list > /dev/null
real 0m5.206s
user 0m4.914s
sys 0m0.227s
More information about the Openembedded-devel
mailing list