Mercurial > hg
comparison tests/test-debugcommands.t @ 39980:d71e0ba34d9b
debugcommands: add a debugindexstats command
Someone went through the trouble of recording these stats, so let's
make them accessible.
Differential Revision: https://phab.mercurial-scm.org/D4832
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 08 Aug 2018 23:17:16 -0700 |
parents | 8d6ab33a61b2 |
children | 8cf459d8b111 |
comparison
equal
deleted
inserted
replaced
39979:6bdee4bc181a | 39980:d71e0ba34d9b |
---|---|
175 0 0 b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 | 175 0 0 b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3 0000000000000000000000000000000000000000 0000000000000000000000000000000000000000 |
176 | 176 |
177 debugdelta chain basic output | 177 debugdelta chain basic output |
178 | 178 |
179 #if reporevlogstore | 179 #if reporevlogstore |
180 $ hg debugindexstats | |
181 node trie capacity: 4 | |
182 node trie count: 2 | |
183 node trie depth: 1 | |
184 node trie last rev scanned: -1 | |
185 node trie lookups: 4 | |
186 node trie misses: 1 | |
187 node trie splits: 1 | |
188 revs in memory: 3 | |
189 | |
180 $ hg debugdeltachain -m | 190 $ hg debugdeltachain -m |
181 rev chain# chainlen prev delta size rawsize chainsize ratio lindist extradist extraratio | 191 rev chain# chainlen prev delta size rawsize chainsize ratio lindist extradist extraratio |
182 0 1 1 -1 base 44 43 44 1.02326 44 0 0.00000 | 192 0 1 1 -1 base 44 43 44 1.02326 44 0 0.00000 |
183 1 2 1 -1 base 0 0 0 0.00000 0 0 0.00000 | 193 1 2 1 -1 base 0 0 0 0.00000 0 0 0.00000 |
184 2 3 1 -1 base 44 43 44 1.02326 44 0 0.00000 | 194 2 3 1 -1 base 44 43 44 1.02326 44 0 0.00000 |