Webrev:
http://cr.opensolaris.org/~bpytlik/ips-4886-v1/

Bug:
http://defect.opensolaris.org/bz/show_bug.cgi?id=4886
api.info shouldn't be reloading the catalog from disk needlessly

For 10 repeated calls to api.info, this change reduces the time needed 
from about 10 seconds to about 1.3 seconds.

John, I think I'm seeing some speed up in the PackageManager but not on 
the order of magnitude that the CLI shows. Can you give me more 
information about how you performance tested the PackageManager to 
determine that reading the catalog file was the main source of slow 
down? It's also I was looking at the wrong use case, I thought this was 
supposed to improve the time it took the details panel to be filled in. 
Any feedback you could give from trying this patch would be appreciated.

Thanks,
Brock

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to