Mercurial > hg
comparison tests/test-mq-qrefresh.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 | bbf544b5f2e9 |
children | 95c4cca641f6 |
comparison
equal
deleted
inserted
replaced
38970:32b1967b8734 | 38971:ee97f7a677f3 |
---|