[packagekit] Ipkg backend performance

Thomas Wood thomas at openedhand.com
Mon Jan 14 04:32:29 PST 2008


On Fri, 2008-01-11 at 15:49 +0000, Thomas Wood wrote:
[...]
> 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
> 
> Unfortunately get description and get depends seem to be broken in the
> build on the device. 


Latest seems to be working better on the device so...

Now with the "single init" feature enabled, the first run includes
setting up (init), where as subsequent runs do not need to init.

search-name runtime was 4.2 seconds
search-name runtime was 1.7 seconds
search-name runtime was 1.9 seconds
search-name runtime was 2.6 seconds
search-name runtime was 0.3 seconds
search-name runtime was 2.0 seconds

get-depends runtime was 4.1 seconds
get-depends runtime was 0.3 seconds
get-depends runtime was 0.4 seconds
get-depends runtime was 0.4 seconds
get-depends runtime was 0.4 seconds

get-description runtime was 3.9 seconds
get-description runtime was 0.2 seconds
get-description runtime was 0.1 seconds
get-description runtime was 0.1 seconds
get-description runtime was 0.1 seconds
get-description runtime was 0.2 seconds


Interestingly, if I run search-name inside the time command, I get
consistently lower results, with subsequent calls after init taking less
than 0.4 seconds to complete. Does anyone have any thoughts on why this
might be the case?

Regards,

Thomas


-- 
OpenedHand Ltd.

Unit R Homesdale Business Center / 216-218 Homesdale Road /
Bromley / BR1 2QZ / UK             Tel: +44 (0)20 8819 6559

Expert Open Source For Consumer Devices - http://o-hand.com/
------------------------------------------------------------




More information about the PackageKit mailing list