On 02/25/10 07:32 PM, Shawn Walker wrote:
...
There's a massive performance difference between using the raw string
vs. parsing the action string minimally. Tens of seconds last I checked,
although that could have changed since we moved to python2.6 and have
made various other changes.
That should have said:
"There's a massive performance difference between parsing the raw string
and constructing an action object."
To quantify that; I found that if I constructed an action object for
every entry I was parsing for renamed and obsolete during
rebuild_image_catalogs(), I would add on average about 8 seconds to the
time pkg refresh --full takes. On my system, that's a difference
between 18 seconds and 26 seconds. So about 30%.
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss