On Wed, Feb 06, Duncan Mac-Vicar P. wrote:
- zypper iterates the pool to show a summary of installation, also to mark a candidate for install. This is really slow with the current (non-optimized) pool adaptor. Is there another way we can speed up this?
Do you think it's slow? 12:21:22 START MEASURE(iterate pool) 12:21:22 20989 12:21:22 MEASURE(iterate pool) 0 (u 0.01 s 0.00 c 0.00) 12:21:22 START MEASURE(iterate pool count status installed) 12:21:22 1644 19345 12:21:22 MEASURE(iterate pool count status installed) 0 (u 0.00 s 0.00 c 0.00) But I admitt, I forgot to flag the pool clean after building it. That each call to pool.end() did one itertaion to check the items. So zypper 'for ( iterator it=pool.begin(); it!=pool.end(); ++it)' did 20991 iterations and visited 440580099 PoolItems. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org