[darcs-devel] [issue1589] darcs unpull --last=1 takes 7 seconds

Ian Lynagh bugs at darcs.net
Thu Sep 10 10:43:20 UTC 2009


Ian Lynagh <igloo at earth.li> added the comment:

FWIW, on an ext3 FS, with an old-fashioned GHC HEAD repo and darcs 1.0.9rc1:
$ echo y | /usr/bin/time darcs unpull --last=1
Wed Sep  9 12:57:57 BST 2009  Simon Marlow <marlowsd at gmail.com>
  * Fix up logic to decide whether shared libs are being built or not
  Ignore-this: 7709d980f416318eae71e8bae255fa2d
  
  Now, adding dyn to $(GhcLibWays) is how shared libs are enabled.
  Everything else keys off that, rather than testing
  $(BuildSharedLibs).
Shall I unpull this patch? (1/1)  [ynWvpxqadjk], or ? for help: 
Finished unpulling.
1.00user 0.10system 0:01.11elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+8408outputs (0major+11317minor)pagefaults 0swaps

I believe the 1 second is due to a call to wait_a_moment (== sleep 1), but I
haven't followed the code through to be sure of that.

----------
nosy: +igloo

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1589>
__________________________________


More information about the darcs-devel mailing list