D5170: branchmap: pass changelog into revbranchcache.branchinfo()

Yuya Nishihara yuya at tcha.org
Sat Oct 20 06:31:45 EDT 2018


On Sat, 20 Oct 2018 16:18:13 +0900, Yuya Nishihara wrote:
> >   ! wall 0.133497 comb 0.140000 user 0.130000 sys 0.010000 (best of 64)
> >   ! wall 0.139459 comb 0.150000 user 0.150000 sys 0.000000 (best of 57)
> >   
> >   After
> >   ! wall 0.106518 comb 0.110000 user 0.100000 sys 0.010000 (best of 77)
> >   ! wall 0.106157 comb 0.110000 user 0.100000 sys 0.010000 (best of 83)

Okay, it's purely the cost of function calls. If I remove __set__() from
filecache, the number dropped from 0.134997 to 0.099038.


More information about the Mercurial-devel mailing list