annotate tests/test-debugindexdot @ 5452:82b4ff3abbcd
bdiff: tweaks for large files
- adjust the common line threshold to .1%
this speeds up a delta of 7M lines of source from 10m to 40s
- adjust the scaling of the hash array down a bit as it was raising the peak
memory usage significantly
author |
Matt Mackall <mpm@selenic.com> |
date |
Thu, 11 Oct 2007 00:46:56 -0500 |
parents |
8838fe5a236f |
children |
|
rev |
line source |
5348
|
1 #!/bin/sh
|
|
2
|
|
3 # Just exercize debugindexdot
|
|
4 # Create a short file history including a merge.
|
|
5 hg init t
|
|
6 cd t
|
|
7 echo a > a
|
|
8 hg ci -qAm t1 -d '0 0'
|
|
9 echo a >> a
|
|
10 hg ci -m t2 -d '1 0'
|
|
11 hg up -qC 0
|
|
12 echo b >> a
|
|
13 hg ci -m t3 -d '2 0'
|
|
14 HGMERGE=true hg merge -q
|
|
15 hg ci -m merge -d '3 0'
|
|
16
|
|
17 hg debugindexdot .hg/store/data/a.i
|