Mercurial > hg
comparison mercurial/diffhelpers.c @ 20075:f8737bce736a
manifest: increase lrucache from 3 to 4
During a commit amend there are 4 manifests being handled:
- original commit
- temporary commit
- amended commit
- merge base
This causes a manifest cache miss which hurts perf on large repos. On a large
repo, this fix causes amend to go from 6 seconds to 5.5 seconds.
author | Durham Goode <durham@fb.com> |
---|---|
date | Mon, 11 Nov 2013 16:35:12 -0800 |
parents | 0a0933d3d59c |
children | c8e7fa41bfc5 |
comparison
equal
deleted
inserted
replaced
20074:5fc2ae1c631b | 20075:f8737bce736a |
---|