Mercurial > public > mercurial-scm > hg-stable
diff tests/test-contrib-perf.t @ 27286:528cf1a73ae5
perf: add perflrucachedict command
It measures time to construct, perform gets, sets, or mixed mode
operations on a cache of configurable size with variable numbers of
operations.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 06 Dec 2015 17:07:50 -0800 |
parents | 61fbf5dc12b2 |
children | b0de270acd17 |
line wrap: on
line diff
--- a/tests/test-contrib-perf.t Sun Dec 06 22:22:09 2015 -0800 +++ b/tests/test-contrib-perf.t Sun Dec 06 17:07:50 2015 -0800 @@ -75,6 +75,8 @@ benchmark the time to parse the on-disk markers for a repo perflog (no help text available) perflookup (no help text available) + perflrucachedict + (no help text available) perfmanifest (no help text available) perfmergecalculate (no help text available) @@ -139,6 +141,11 @@ $ hg perflog 2>&1 | filter_perf_output $ hg perflookup 2 2>&1 | filter_perf_output ! result: 20 + $ hg perflrucache 2>&1 | filter_perf_output + ! init + ! gets + ! sets + ! mixed $ hg perfmanifest 2 2>&1 | filter_perf_output $ hg perfmergecalculate -r 3 2>&1 | filter_perf_output $ hg perfmoonwalk 2>&1 | filter_perf_output