On Wed, Feb 24, 2010 at 03:55:39PM +0100, Petr Rockai wrote: > would it be possible to also run 2.3.99.2 on a hashed repository where > you ran darcs(-2.3.99.2) optimize --pristine? I think that should cut > down the times further, and bring the whatsnew times back into line with > 2.3.1. Thanks a lot!
Here are all my results, including a hashed-optimized run.
It appears that hashed-format and darcs-2 format have benchmarks
that are comparable. Optimizing the pristine cache speeds up the
commands it helps by about double (a lot more for 'whatsnew').
get, pull 100, wh, wh mod, wh -l, rev mod, unrev, pull 1000
Comparing
darcs 1.0.9 on a darcs-1 format repository
darcs 2.3.1 on a darcs-2 format repository
darcs 2.3.99.2 on a darcs-2 format repository
darcs 2.3.99.2 on a hanshed format repository
darcs 2.3.99.2 on a hashed optimized format repository
Number of benchmarks with the fastest time:
- 1.0.9: 6 (get, rec, rev, unrev, check, repair)
- 2.3.99.2 hashed opt: 5 (pull 100, wh, wh mod, wh -l, pull 1000)
Number of benchmarks with slowest time ('get' is pretty much tied
with darcs-2 executables):
- 1.0.9: 1 (pull 1000)
- 2.3.1: 7 (pull 100, wh -l, rec, rev, unrev, check, repair)
- 2.3.99.2 non opt: 2 (wh, wh mod)
It looks like 'record' is the only command that is really holding
us back from switching. Currently with darcs 1.0.9 it takes 5s.
With darcs 2.3.99.2 on an optimized repository it takes 29s.
I have not benchmarked the 'add' command. That command is also
important (and currently slow).
-kolibrie
cap - darcs-2 format
--------------------
============== ================ ===============
darcs-2.3.1 darcs-2.3.99.2
============== ================ ===============
get (full) 495.3s d=3.8 496.8s d=12.4
get (lazy) 175.1s d=2.7 167.3s d=3.7
pull 100 222.5s d=1.1 189.9s d=2.2
wh 338.4ms d=0.0 1791.1ms d=0.1
wh mod 341.3ms d=0.0 1791.7ms d=0.1
wh -l 26276.2ms d=0.1 4405.4ms d=0.0
record mod 62515.7ms d=0.6 33698.7ms d=0.3
revert mod 31911.9ms d=0.2 7122.8ms d=0.2
(un)revert mod 102886.2ms d=0.3 25014.1ms d=0.3
check 1056.7s d=66.9 672.9s d=12.8
repair 999.8s d=15.6 684.8s d=2.1
annotate - -
pull 1000 315.5s d=2.9 287.1s d=2.4
============== ================ ===============
============== =========== ==============
darcs-2.3.1 darcs-2.3.99.2
============== =========== ==============
get (full) 187.3M 186.7M
get (lazy) 22.7M 15.0M
pull 100 145.0M 228.3M
wh 0.0M 0.0M
wh mod 15.0M 12.0M
wh -l 0.0M 0.0M
record mod 109.3M 230.0M
revert mod 117.7M 160.0M
(un)revert mod 125.7M 230.0M
check 671.0M 822.0M
repair 671.0M 816.3M
annotate - -
pull 1000 654.0M 842.0M
============== =========== ==============
cap - hashed optimized format
-----------------------------
============== ===============
darcs-2.3.99.2
============== ===============
get (full) 286.7s d=11.7
get (lazy) 33.4s d=0.9
pull 100 110.6s d=0.5
wh 281.5ms d=0.0
wh mod 283.7ms d=0.0
wh -l 2621.9ms d=0.1
record mod 29014.6ms d=0.1
revert mod 3058.3ms d=0.1
(un)revert mod 13617.4ms d=0.1
check 615.7s d=7.0
repair 615.6s d=5.4
annotate -
pull 1000 222.3s d=1.8
============== ===============
============== ==============
darcs-2.3.99.2
============== ==============
get (full) 187.0M
get (lazy) 16.3M
pull 100 226.7M
wh 0.0M
wh mod 8.0M
wh -l 0.0M
record mod 231.3M
revert mod 128.0M
(un)revert mod 233.0M
check 784.7M
repair 783.0M
annotate -
pull 1000 211.0M
============== ==============
cap - hashed format
-------------------
============== =============== ===============
darcs-2.3.1 darcs-2.3.99.2
============== =============== ===============
get (full) 231.9s d=3.5 231.8s d=7.9
get (lazy) 38.0s d=0.8 35.6s d=0.5
pull 100 139.2s d=1.4 115.0s d=1.1
wh 343.2ms d=0.0 1790.8ms d=0.0
wh mod 342.7ms d=0.0 1783.2ms d=0.0
wh -l 22976.3ms d=0.2 4335.8ms d=0.0
record mod 57570.6ms d=0.1 33440.5ms d=0.2
revert mod 28263.7ms d=0.2 6829.0ms d=0.1
(un)revert mod 91301.9ms d=0.4 24173.4ms d=0.2
check 994.4s d=89.3 592.9s d=9.1
repair 940.3s d=2.8 584.6s d=14.8
annotate - -
pull 1000 258.0s d=2.3 228.0s d=4.6
============== =============== ===============
============== =========== ==============
darcs-2.3.1 darcs-2.3.99.2
============== =========== ==============
get (full) 186.7M 186.0M
get (lazy) 22.7M 16.7M
pull 100 109.7M 225.3M
wh 0.0M 0.0M
wh mod 15.0M 12.0M
wh -l 0.0M 0.0M
record mod 105.3M 232.0M
revert mod 107.0M 157.7M
(un)revert mod 125.0M 221.0M
check 671.0M 787.3M
repair 671.0M 787.7M
annotate - -
pull 1000 127.0M 210.0M
============== =========== ==============
cap - darcs-1 format
--------------------
============== ==============
darcs-1.0.9
============== ==============
get (full) 55.1s d=5.7
get (lazy) -
pull 100 113.8s d=0.9
wh 1249.3ms d=0.1
wh mod 1230.2ms d=0.0
wh -l 7943.7ms d=0.2
record mod 5712.0ms d=0.2
revert mod 2417.3ms d=0.1
(un)revert mod 7482.9ms d=0.2
check 206.9s d=76.0
repair 181.3s d=8.0
annotate -
pull 1000 615.7s d=3.8
============== ==============
============== ===========
darcs-1.0.9
============== ===========
get (full) 47.0M
get (lazy) -
pull 100 49.7M
wh 0.0M
wh mod 6.0M
wh -l 0.0M
record mod 17.0M
revert mod 6.8M
(un)revert mod 7.0M
check 44.7M
repair 44.3M
annotate -
pull 1000 99.0M
============== ===========
On Tue, Feb 23, 2010 at 09:03:08AM -0500, Nathan Gray wrote:
>
> cap-1
> -----
>
> ================== ============= =============== ================
> darcs-1.0.9 darcs-2.3.1 darcs-2.3.99
> ================== ============= =============== ================
> get (full) 51.2s, 39.0M 1975.3s, 0.0M 1857.9s, 0.0M
> get (lazy, x10) -, - 22097.6s, 0.0M 22197.2s, 0.0M
> pull 100 116.8s, 49.0M 85.5s, 73.0M 516.0s, 672.0M
> wh x50 60.3s, 0.0M 13297.1s, 0.0M 9872.3s, 0.0M
> wh mod x50 60.4s, 6.0M 13316.4s, 63.0M 9861.1s, 496.0M
> wh -l x20 158.4s, 0.0M 112.7s, 0.0M 15114.0s, 0.0M
> record mod x10 26.7s, 16.0M 39.3s, 62.0M 2258.5s, 515.0M
> revert mod x50 117.4s, 7.0M 239.5s, 28.0M 19743.4s, 594.0M
> (un)revert mod x10 49.2s, 7.0M 107.7s, 76.0M 8815.1s, 960.0M
> check 189.0s, 42.0M 1123.8s, 589.0M 1093.6s, 1394.0M
> repair 166.7s, 42.0M 1121.4s, 589.0M 1250.1s, 1394.0M
> annotate -, - -, - -, -
> pull 1000 301.9s, 99.0M 169.4s, 107.0M 972.3s, 680.0M
> ================== ============= =============== ================
>
signature.asc
Description: Digital signature
_______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
