~bzr-pqm/bzr/bzr.dev

974.1.26 by aaron.bentley at utoronto
merged mbp@sourcefrog.net-20050817233101-0939da1cf91f2472
1
importing all inventories:
2
3
with 50% chance of choosing earlier parent:
4
5
-rw-r--r--  1 mbp mbp 296961 2005-04-09 22:37 inventory.drev
6
-rw-r--r--  1 mbp mbp  11184 2005-04-09 22:37 inventory.irev
7
8
imported in 2.490s
9
10
11
with no chance:
12
13
clearly slows down, 11.163s to import
14
15
-rw-r--r--  1 mbp mbp 63590 2005-04-09 22:39 inventory.drev
16
-rw-r--r--  1 mbp mbp 11184 2005-04-09 22:39 inventory.irev
17
18
19
20
with 25% chance:
21
22
revfile.py add-series inventory 0 mbp*  7.86s user 0.12s system 96% cpu 8.247 total
23
-rw-r--r--  1 mbp mbp 79535 2005-04-09 22:42 inventory.drev
24
-rw-r--r--  1 mbp mbp 11184 2005-04-09 22:42 inventory.irev
25
26
27
28
with full text inserted every 20 revisions:
29
30
revfile.py add-series inventory 0 mbp*  1.98s user 0.06s system 95% cpu 2.139 total
31
32
-rw-r--r--  1 mbp mbp 133719 2005-04-09 22:44 inventory.drev
33
-rw-r--r--  1 mbp mbp  11184 2005-04-09 22:44 inventory.irev
34
35
So pretty quick, simple, and somewhat easily justified.
36
37
38
39
every 50 revisions:
40
41
revfile.py add-series inventory 0 mbp*  3.35s user 0.08s system 93% cpu 3.667 total
42
43
-rw-r--r--  1 mbp mbp 91895 2005-04-09 22:46 inventory.drev
44
-rw-r--r--  1 mbp mbp 11184 2005-04-09 22:46 inventory.irev
45