时间提高了不少,减少了更新/分析yum metadata的时间。
time python support/dump_rpm_existing_new.py
real    0m2.805s
user    0m0.723s
sys    0m0.255s

time python support/dump_rpm_existing.py
real    0m10.027s
user    0m5.956s
sys    0m0.580s



在2010-06-08 21:56:15,"Homer Xing" <[email protected]> 写道:
Ray, Devil,

    我改了 dump_rpm_cache ,采用直接读 sqlite 方法。 麻烦 merge 以后试试,看看减少了多少时间哈

    Homer
_______________________________________________
Mailing list: https://launchpad.net/~ailurus
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ailurus
More help   : https://help.launchpad.net/ListHelp

回复