Mercurial > hg
diff contrib/buildrpm @ 27440:ff305ab2e0d7
log: speed up hg log <file|folder>
This patch makes hg log <file|folder> faster by using changelog.readfiles
instead of changelog.read.
On our large repos for hg log <file|folder> -l5 operations that were taking:
- ~8s I see a 25% improvement
- ~15s, I see a 35% improvement
For recently modified folder/file, the difference is negligible as we don't
have to consider many revisions.
author | Laurent Charignon <lcharignon@fb.com> |
---|---|
date | Fri, 18 Dec 2015 12:54:45 -0800 |
parents | 6474b64045fb |
children | d713fa934fb9 |