Attachment 'hg-profile-2008-01-28-001-abuehl.txt'
Download 1 Mercurial on Windows XP SP2, 2.4 GHz Pentium 4, 1 GB RAM, ATA-HD using NTFS
2 Sampled by Adrian Buehlmann on 2008-01-28
3 ------------------------------------------------------------------------------
4
5 > ver
6 Microsoft Windows XP [Version 5.1.2600]
7
8 > hg version
9 Mercurial Distributed SCM (version 02884e56c217+win32extras)
10
11
12 > hg clone --noupdate --time --lsprof http://www.selenic.com/hg/ mercurial
13 requesting all changes
14 adding changesets
15 adding manifests
16 adding file changes
17 added 5930 changesets with 11128 changes to 800 files
18 CallCount Total(s) Inline(s) module:lineno(function)
19 3859 105.8043 105.8043 <win32file.FlushFileBuffers>
20 4696 37.9334 37.9334 <method 'recv' of '_socket.socket' objects>
21 27104 5.4927 5.4927 <zlib.compress>
22 802 160.4870 1.6750 <mercurial\revlog.pyc>:1128(addgroup)
23 +57681 1.5920 0.6826 +<mercurial\util_win32.pyc>:277(write)
24 +3759 4.4434 0.3680 +<mercurial\revlog.pyc>:1018(_addrevision)
25 +3759 2.9183 0.2492 +<mercurial\revlog.pyc>:919(revision)
26 +22184 4.4959 0.2055 +<mercurial\revlog.pyc>:65(compress)
27 +22986 0.2982 0.1534 +<mercurial\revlog.pyc>:534(end)
28 7421 1.6561 1.6561 <win32file.CreateFile>
29 83773 2.3729 0.9866 <mercurial\util_win32.pyc>:277(write)
30 +60247 0.6733 0.6733 +<win32file.WriteFile>
31 +68909 0.5032 0.5032 +<win32file.SetFilePointer>
32 +144020 0.2098 0.2098 +<len>
33 1 0.8228 0.8228 <<string>>:1(connect)
34 60247 0.6733 0.6733 <win32file.WriteFile>
35 439171 0.6672 0.6672 <len>
36 +10 0.0000 0.0000 +<sre_parse.pyc>:132(__len__)
37 89646 0.5939 0.5939 <win32file.SetFilePointer>
38 Time: real 166.533 secs (user 8.625+0.000 sys 13.000+0.000)
39
40
41 > hg clone --pull --noupdate --time --lsprof mercurial mercurial-cloned
42 requesting all changes
43 adding changesets
44 adding manifests
45 adding file changes
46 added 5930 changesets with 11128 changes to 800 files
47 CallCount Total(s) Inline(s) module:lineno(function)
48 3859 110.3833 110.3833 <win32file.FlushFileBuffers>
49 27104 5.4330 5.4330 <zlib.compress>
50 15087 3.0310 3.0310 <win32file.ReadFile>
51 19933 2.2309 2.2309 <win32file.CreateFile>
52 802 143.4826 1.7359 <mercurial\revlog.pyc>:1128(addgroup)
53 +57681 1.5895 0.6773 +<mercurial\util_win32.pyc>:277(write)
54 +3759 4.6457 0.3835 +<mercurial\revlog.pyc>:1018(_addrevision)
55 +3759 2.8817 0.2409 +<mercurial\revlog.pyc>:919(revision)
56 +22184 4.3611 0.2089 +<mercurial\revlog.pyc>:65(compress)
57 +22986 0.3035 0.1583 +<mercurial\revlog.pyc>:534(end)
58 55787 5.1336 1.2139 <mercurial\revlog.pyc>:869(chunk)
59 +55787 0.2582 0.2582 +<mercurial\revlog.pyc>:532(start)
60 +55787 1.4169 0.2392 +<mercurial\revlog.pyc>:94(decompress)
61 +55787 0.1172 0.1172 +<mercurial\revlog.pyc>:536(length)
62 +2709 2.0280 0.1078 +<mercurial\revlog.pyc>:870(loadcache)
63 +55709 0.0869 0.0869 +<len>
64 42454 1.1778 1.1778 <zlib.decompress>
65 48375 15.3070 0.9898 <mercurial\util.pyc>:1437(read)
66 +71362 13.8145 0.3262 +<mercurial\localrepo.pyc>:1816(gengroup)
67 +168323 0.2525 0.2525 +<len>
68 +71573 0.2102 0.2102 +<method 'write' of 'cStringIO.StringO' objects>
69 +212 0.0283 0.0283 +<method 'getvalue' of 'cStringIO.StringO' objects>
70 +212 0.0098 0.0039 +<mercurial\demandimport.pyc>:71(__getattribute__)
71 83773 2.3650 0.9762 <mercurial\util_win32.pyc>:277(write)
72 +60247 0.6773 0.6773 +<win32file.WriteFile>
73 +68909 0.5020 0.5020 +<win32file.SetFilePointer>
74 +144020 0.2095 0.2095 +<len>
75 645476 0.9716 0.9716 <len>
76 Time: real 146.395 secs (user 13.297+0.000 sys 20.531+0.000)
77
78
79 > hg -R mercurial verify --time --lsprof --verbose
80 repository uses revlog format 1
81 checking changesets
82 checking manifests
83 crosschecking files in changesets and manifests
84 checking files
85 800 files, 5930 changesets, 11128 total revisions
86 CallCount Total(s) Inline(s) module:lineno(function)
87 2810 2.1890 2.1890 <win32file.ReadFile>
88 34370 1.3872 1.3872 <method 'update' of '_hashlib.HASH' objects>
89 1 15.7010 0.9760 <mercurial\verify.pyc>:19(_verify)
90 +5930 2.9532 0.3604 +<mercurial\changelog.pyc>:135(read)
91 +22986 0.3741 0.2295 +<mercurial\revlog.pyc>:527(parents)
92 +11128 4.0771 0.1556 +<mercurial\filelog.pyc>:30(read)
93 +22986 0.1648 0.1073 +<mercurial\revlog.pyc>:525(linkrev)
94 +52994 0.0981 0.0981 +<method 'setdefault' of 'dict' objects>
95 18039 6.2905 0.7751 <mercurial\revlog.pyc>:919(revision)
96 +22920 1.3661 0.4407 +<mercurial\revlog.pyc>:869(chunk)
97 +17185 0.3409 0.3409 +<mercurial.mpatch.patches>
98 +17185 1.9063 0.2759 +<mercurial\revlog.pyc>:51(hash)
99 +17185 0.2963 0.1763 +<mercurial\revlog.pyc>:527(parents)
100 +17185 0.1384 0.0949 +<mercurial\revlog.pyc>:495(_loadindex)
101 19952 0.6727 0.6727 <zlib.decompress>
102 10484 0.6423 0.6423 <win32file.CreateFile>
103 81901 0.7537 0.5488 <mercurial\demandimport.pyc>:71(__getattribute__)
104 +40932 0.1569 0.1569 +<mercurial\demandimport.pyc>:71(__getattribute__)
105 +20466 0.2320 0.1014 +<mercurial\demandimport.pyc>:43(_load)
106 +20466 0.0455 0.0455 +<getattr>
107 28784 1.6659 0.5484 <mercurial\revlog.pyc>:869(chunk)
108 +28784 0.1376 0.1376 +<mercurial\revlog.pyc>:532(start)
109 +28784 0.7953 0.1226 +<mercurial\revlog.pyc>:94(decompress)
110 +28784 0.0681 0.0681 +<mercurial\revlog.pyc>:536(length)
111 +28779 0.0465 0.0465 +<len>
112 +111 0.0695 0.0035 +<mercurial\revlog.pyc>:870(loadcache)
113 51299 0.8452 0.5140 <mercurial\revlog.pyc>:527(parents)
114 +102598 0.2116 0.2116 +<mercurial\revlog.pyc>:523(node)
115 +51299 0.1197 0.1197 +<mercurial\revlog.pyc>:518(rev)
116 5928 0.8368 0.3950 <mercurial\manifest.pyc>:39(parse)
117 +41650 0.1946 0.1946 +<binascii.unhexlify>
118 +41650 0.1147 0.1147 +<method 'split' of 'str' objects>
119 +41650 0.0619 0.0619 +<len>
120 +5928 0.0401 0.0401 +<mercurial\manifest.pyc>:13(__init__)
121 +5928 0.0305 0.0305 +<method 'splitlines' of 'str' objects>
122 Time: real 16.131 secs (user 6.516+0.000 sys 9.000+0.000)
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.