This page is intended to list some Mercurial repository samples, noting repository sizes (number of files and changesets) and optionally some run times.

Xenbits

http://xenbits.xensource.com/. Repository: http://xenbits.xensource.com/xen-3.2-testing.hg

Repository Size

86.3 MB

Files

10'244

Changesets

16'737

Total Revisions

101'963

(sampled on 2008-02-02 by AdrianBuehlmann)

> hg clone --time --noupdate http://xenbits.xensource.com/xen-3.2-testing.hg
destination directory: xen-3.2-testing.hg
requesting all changes
adding changesets
adding manifests
adding file changes
added 16737 changesets with 101963 changes to 10244 files
Time: real 369.869 secs (user 22.203+0.000 sys 68.094+0.000)

> ver
Microsoft Windows XP [Version 5.1.2600]

> hg version
Mercurial Distributed SCM (version 9f1e6ab76069+tortoisehg)
...

The size of the cloned local repo directory was 86.3 MB, containing 10'278 Files and 1'452 Folders.

Local platform used: TortoiseHg 0.3 on Windows XP SP2, 2.4 GHz Pentium 4, 1 GB RAM, ATA-HD using NTFS.

Local clone using pull protocoll:

> hg clone --time --noupdate --pull xen-3.2-testing.hg xen-3.2-testing.hg-clone
requesting all changes
adding changesets
adding manifests
adding file changes
added 16737 changesets with 101963 changes to 10244 files
Time: real 167.321 secs (user 55.594+0.000 sys 95.672+0.000)

Local clone using hardlinks:

> hg clone --time --noupdate xen-3.2-testing.hg xen-3.2-testing.hg-clone-links
Time: real 19.948 secs (user 3.969+0.000 sys 2.813+0.000)

Verify:

> hg -R xen-3.2-testing.hg --time -v verify
repository uses revlog format 1
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
10244 files, 16737 changesets, 101963 total revisions
Time: real 82.222 secs (user 32.094+0.000 sys 49.328+0.000)

Linux-2.6 Kernel Mirror

http://www.kernel.org/hg/linux-2.6/ (Synchronized repository. Not official. See ProjectsUsingMercurial)

Repository Size

464 MB

Files

29'199

Changesets

82'936

Total Revisions

609'305

(sampled on 2008-02-02 by AdrianBuehlmann)

> hg clone --time --noupdate http://www.kernel.org/hg/linux-2.6/
destination directory: linux-2.6
requesting all changes
adding changesets
adding manifests
adding file changes
added 82936 changesets with 609305 changes to 29199 files (+1 heads)
Time: real 1792.640 secs (user 91.484+0.000 sys 330.094+0.000)

> ver
Microsoft Windows XP [Version 5.1.2600]

> hg version
Mercurial Distributed SCM (version 9f1e6ab76069+tortoisehg)
...

The size of the cloned local repo directory was 464 MB, containing 29'255 Files and 1'630 Folders.

Local platform used: TortoiseHg 0.3 on Windows XP SP2, 2.4 GHz Pentium 4, 1 GB RAM, ATA-HD using NTFS.

Local clone using pull protocoll:

> hg clone --time --noupdate --pull linux-2.6 linux-2.6-clone
requesting all changes
adding changesets
adding manifests
adding file changes
added 82936 changesets with 609305 changes to 29199 files (+1 heads)
Time: real 819.645 secs (user 188.703+0.000 sys 460.609+0.000)

Local clone using hardlinks:

> hg clone --time --noupdate linux-2.6 linux-2.6-clone-links
Time: real 48.436 secs (user 11.578+0.000 sys 7.734+0.000)

Verify:

> hg -R linux-2.6 --time -v verify
repository uses revlog format 1
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
29199 files, 82936 changesets, 609305 total revisions
Time: real 452.939 secs (user 98.031+0.000 sys 289.156+0.000)

NetBeans

Repository contains "stable" NetBeans modules and other infrastructure, including 9+ years of (trunk) history imported from CVS.

Repository Size

560 MB

Files

74'713

Changesets

64'888

Total Revisions

325'131

(sampled on 2008-01-26 by JesseGlick)

Local platform: Tecra M5, T7200 Core 2 Duo, 2GB RAM, SATA drive @5400rpm (ext3 noatime,data=writeback), WiFi + broadband, Ubuntu 7.10, Hg 0.9.5.

$ hg clone --time --noupdate http://hg.netbeans.org/main/
destination directory: main
requesting all changes
adding changesets
adding manifests
adding file changes
added 64888 changesets with 325131 changes to 74713 files
Time: real 277.920 secs (user 132.630+0.080 sys 16.160+0.010)

$ du -sh main
560M    main

$ hg clone --time --noupdate --pull main main-clone
requesting all changes
adding changesets
adding manifests
adding file changes
added 64888 changesets with 325131 changes to 74713 files
Time: real 259.550 secs (user 190.010+0.070 sys 16.730+0.010)

$ hg clone --time --noupdate main main-clone-links
Time: real 8.290 secs (user 1.540+0.000 sys 2.800+0.000)

$ hg -R main --time --verbose verify
repository uses revlog format 1
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
74713 files, 64888 changesets, 325131 total revisions
Time: real 100.330 secs (user 85.960+0.000 sys 6.350+0.000)

$ hg -R main --time update
74703 files updated, 0 files merged, 0 files removed, 0 files unresolved
Time: real 162.290 secs (user 59.680+0.000 sys 12.340+0.000)

$ hg -R main --time status
Time: real 14.890 secs (user 4.290+0.000 sys 0.900+0.000)

$ hg -R main --time status
Time: real 4.110 secs (user 3.680+0.000 sys 0.420+0.000)

$ du -sh main
1.4G    main

Same repo with TortoiseHg 0.3 on Windows XP SP2, 2.4 GHz Pentium 4, 1 GB RAM, ATA-HD using NTFS (added 2008-02-02 by AdrianBuehlmann):

> hg version
Mercurial Distributed SCM (version 9f1e6ab76069+tortoisehg)

> hg clone --time --noupdate http://hg.netbeans.org/main/ netbeans-main
requesting all changes
adding changesets
adding manifests
adding file changes
added 65639 changesets with 327486 changes to 75303 files
Time: real 909.618 secs (user 138.781+0.000 sys 297.031+0.000)

> hg clone --time --noupdate --pull netbeans-main netbeans-clone
requesting all changes
adding changesets
adding manifests
adding file changes
added 65639 changesets with 327486 changes to 75303 files
Time: real 1009.085 secs (user 315.344+0.000 sys 439.266+0.000)

> hg clone --time --noupdate netbeans-main netbeans-clone-links
Time: real 147.021 secs (user 38.766+0.000 sys 23.266+0.000)

> hg -R netbeans-main --time --verbose verify
repository uses revlog format 1
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
75303 files, 65639 changesets, 327486 total revisions
Time: real 563.865 secs (user 204.938+0.000 sys 195.906+0.000)

On Windows, the repo directory net size was 310 MB (484 MB on disk) containing 75'370 files in 20'654 folders.

RepoSamples (last edited 2009-05-19 19:31:04 by localhost)