hg performance
Dustin Sallings
dustin at spy.net
Wed Aug 15 22:37:37 UTC 2007
On Aug 15, 2007, at 14:38 , Simon 'corecode' Schubert wrote:
> Okay, no dice reproducing this here:
>
> 27k files, 2.7k dirs, 342MB source tree (DragonFly-HEAD):
>
> sh -c 'hg addremove && hg commit -m "yo"' 61.10s user 9.61s system
> 63% cpu 1:51.71 total
>
> sh -c 'git add . && git commit -m "hu"' 32.49s user 7.59s system
> 55% cpu 1:12.03 total
>
>
> similar results for the emacs source tree (<4000 files).
>
> This is on DragonFly, UFS, softupdates, striping between two PATA/
> SATA disks. Files hot cache (fresh tree copy).
>
> Could you please reproduce this with recent versions of hg and git
> in your environment and possibly with sources publicly available?
> (I couldn't find the jdk 1.5 sources)
I grabbed Dragonfly dev from 2007-08-15 from
http://chlamydia.fs.ei.tum.de/pub/DragonFly/snapshots/src/
dustintmb:~/tmp/dragonfly/src 545% hg addremove
[...]
3.808u 2.718s 0:07.39 88.0% 0+0k 4+22io 0pf+0w
dustintmb:~/tmp/dragonfly/src 546% hg commit -m "import"
66.269u 30.751s 2:17.91 70.3% 0+0k 11+1779io 0pf+0w
[rm -rf .hg, git init]
dustintmb:~/tmp/dragonfly/src 550% git add .
43.604u 46.257s 9:13.49 16.2% 0+0k 0+57565io 0pf+0w
dustintmb:~/tmp/dragonfly/src 551% git commit -m "import"
[...]
27.044u 17.069s 1:52.08 39.3% 0+0k 6+7593io 0pf+0w
dustintmb:~/tmp/dragonfly/src 552% hg version
Mercurial Distributed SCM (version 0.9.4)
Copyright (C) 2005-2007 Matt Mackall <mpm at selenic.com> and others
This is free software; see the source for copying conditions. There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
0.046u 0.286s 0:00.81 39.5% 0+0k 3+27io 0pf+0w
dustintmb:~/tmp/dragonfly/src 553% git version
git version 1.5.2.4
0.003u 0.004s 0:00.04 0.0% 0+0k 0+3io 0pf+0w
ST98823AS:
Capacity: 74.53 GB
Model: ST98823AS
Revision: 7.01
Serial Number: 5PK1WCN4
Native Command Queuing: Yes
Queue Depth: 32
Removable Media: No
Detachable Drive: No
BSD Name: disk0
OS9 Drivers: No
S.M.A.R.T. status: Verified
Volumes:
Macintosh HD:
Capacity: 74.21 GB
Available: 15.4 GB
Writable: Yes
File System: Journaled HFS+
BSD Name: disk0s2
Mount Point: /
Volumes:
disk0s2:
Capacity: 74.21 GB
Available: 15.4 GB
Writable: Yes
File System: Journaled HFS+
--
Dustin Sallings
More information about the Mercurial
mailing list