Mercurial > hg
diff hgext/color.py @ 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 | 3d8bfe2ecf6d |
children | a2c08adbb86e 7e627fe63e5e |