[packagekit] Ipkg backend performance
Richard Hughes
hughsient at gmail.com
Fri Jan 11 08:03:37 PST 2008
On Fri, 2008-01-11 at 15:49 +0000, Thomas Wood wrote:
> Just did some very rudimentary tests of the ipkg backend on my desktop
> and on an armv4 device. After I observed the init overlapping, I
> implemented a reference count system so that I only initialised and
> destroyed when necessary. This gave some interesting results.
>
>
> x86 System (2.00GHz)
> --------------------
>
> Without single init:
>
> get-description runtime was 0.5 seconds
> get-depends runtime was 0.8 seconds
> search-name runtime was 1.2 seconds
That's pretty quick I think.
> ARMv4 System (266MHz)
> --------------------
>
> Without single init:
>
> search-name runtime was 6.9 seconds
> search-name runtime was 8.8 seconds
> search-name runtime was 3.8 seconds
> search-name runtime was 4.1 seconds
I guess you mean the same columns as above, but that sure seems too
slow.
> By looking at the verbose output, it seems like the init routine on arm
> takes about 4 seconds. I still suspect this is mostly ipkg itself, but
> you can see why it would be important to avoid running this more than
> once per instance if we can.
Totally. Heard loud and clear. Thanks for the numbers.
Richard.
More information about the PackageKit
mailing list