[darcs-users] profiling darcs (issue973)

Ashley Moran ashley.moran at patchspace.co.uk
Tue Aug 5 13:42:11 UTC 2008


On Aug 04, 2008, at 3:59 pm, zooko wrote:

> Looks like http://bugs.darcs.net/issue971 .
>
> According to that ticket it is not fixed and the work-around is to  
> install the GHC darcs repository from a tarball.  :-(
>
> Also rsync would probably do, if you have that.
>
> Regards,
>
> Zooko



Hi Zooko/Eric

I found another workaround on Mac OS X: create a disk image formatted  
as Mac OS Extended (Case Sensitive), and then you can darcs get fine.   
(Which also proves it's the case sensitivity bug too, I guess.)

I don't know how the GHC team would react to having to work off a  
mounted disk image on Windows though...


My profiling output, on an iMac Core 2 Duo 2.5GHz, running OS X  
10.5.4, out of that disk image:

Run 1
=====

Old summary
-----------
total time  =        4.74 secs   (237 ticks @ 20 ms)
total alloc = 1,531,704,836 bytes  (excludes profiling overheads)

Hashed summary
--------------
total time  =       14.02 secs   (701 ticks @ 20 ms)
total alloc = 1,626,606,948 bytes  (excludes profiling overheads)

Darcs 2 summary
---------------
total time  =       13.80 secs   (690 ticks @ 20 ms)
total alloc = 1,573,600,364 bytes  (excludes profiling overheads)


Run 2
=====

Old summary
-----------
total time  =        4.44 secs   (222 ticks @ 20 ms)
total alloc = 1,531,704,948 bytes  (excludes profiling overheads)

Hashed summary
--------------
total time  =        6.18 secs   (309 ticks @ 20 ms)
total alloc = 1,626,522,456 bytes  (excludes profiling overheads)

Darcs 2 summary
---------------
total time  =        4.86 secs   (243 ticks @ 20 ms)
total alloc = 1,573,521,540 bytes  (excludes profiling overheads)


Hope this is of some use.


Ashley


-------------- next part --------------
A non-text attachment was scrubbed...
Name: pdarcs-pghc-old-1.prof
Type: application/octet-stream
Size: 104820 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20080805/70f9a65d/attachment-0006.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pdarcs-pghc-hashed-1.prof
Type: application/octet-stream
Size: 117362 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20080805/70f9a65d/attachment-0007.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pdarcs-pghc-darcs2-1.prof
Type: application/octet-stream
Size: 118919 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20080805/70f9a65d/attachment-0008.obj 
-------------- next part --------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pdarcs-pghc-old-2.prof
Type: application/octet-stream
Size: 104885 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20080805/70f9a65d/attachment-0009.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pdarcs-pghc-hashed-2.prof
Type: application/octet-stream
Size: 116916 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20080805/70f9a65d/attachment-0010.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pdarcs-pghc-darcs2-2.prof
Type: application/octet-stream
Size: 119242 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20080805/70f9a65d/attachment-0011.obj 
-------------- next part --------------



-- 
http://www.patchspace.co.uk/
http://aviewfromafar.net/



More information about the darcs-users mailing list