[PATCH 00 of 10] Persistent tag cache: now with tag->node mapping
Greg Ward
greg-hg at gerg.ca
Thu Jul 16 18:56:53 UTC 2009
Here are some crude performance measurements on a repo converted from
CVS (907 MB, 108 heads, 28376 files, 139244 changesets, 215558 total
revisions, .hgtags on 1 head only). All times are running "hg tip".
* no cache[1] 4.6 sec
* cold cache[2] 4.8 sec
* warm cache[3] 1.1 sec
* hot cache[4] 0.7 sec
[1] ie. running current tip of crew
[2] with all these patches, but no .hg/tags.cache file
[3] e.g. after 1 commit: have to do 1 manifest lookup and 1 .hgtags read
[4] the "instant" case
Not sure why [2] is slower than [1]: it's basically the same code,
just heavily rearranged. Hmmm.
Greg
More information about the Mercurial-devel
mailing list