Mercurial > hg
diff tests/test-lfs-bundle.t @ 38971:ee97f7a677f3
linelog: optimize replacelines
The optimization to avoid calling `annotate` inside `replacelines` is significant
for practical use patterns.
Before this patch:
hg perflinelogedits
! wall 6.778478 comb 6.710000 user 6.700000 sys 0.010000 (best of 3)
After this patch:
hg perflinelogedits
! wall 0.136573 comb 0.140000 user 0.130000 sys 0.010000 (best of 63)
Differential Revision: https://phab.mercurial-scm.org/D4150
author | Jun Wu <quark@fb.com> |
---|---|
date | Tue, 07 Aug 2018 17:22:33 -0700 |
parents | 556984ae0005 |
children | ca82929e433d |