Mercurial > hg
diff tests/test-contrib-perf.t @ 38969:1601afbb573c
perf: add a command to benchmark linelog edits
The use pattern of creating a linelog is usually by calling "replacelines"
multiple times. Add a command to benchmark it.
Differential Revision: https://phab.mercurial-scm.org/D4148
author | Jun Wu <quark@fb.com> |
---|---|
date | Mon, 06 Aug 2018 18:56:24 -0700 |
parents | 2cdb82e8fb44 |
children | 222aba766015 |
line wrap: on
line diff
--- a/tests/test-contrib-perf.t Mon Aug 06 18:56:24 2018 -0700 +++ b/tests/test-contrib-perf.t Mon Aug 06 18:56:24 2018 -0700 @@ -82,6 +82,8 @@ (no help text available) perfheads (no help text available) perfindex (no help text available) + perflinelogedits + (no help text available) perfloadmarkers benchmark the time to parse the on-disk markers for a repo perflog (no help text available) @@ -154,6 +156,7 @@ #endif $ hg perfheads $ hg perfindex + $ hg perflinelogedits -n 1 $ hg perfloadmarkers $ hg perflog $ hg perflookup 2