[darcs-users] [patch318] tune the patch parser (and 10 more)
Jason Dagit
bugs at darcs.net
Mon Jul 26 00:17:08 UTC 2010
Jason Dagit <aoeu> added the comment:
The benchmark is still running, but it has produce partial results and the results look quite promising. Whatsnew is improved
quite a bit. Unrevert might be slightly slower and everything else seems to be unaffected:
============== ========== ======== ================ ======== ============= ======== =================== ========
unmodified sdev refactoredparser sdev op unmodified sdev op refactoredparser sdev
============== ========== ======== ================ ======== ============= ======== =================== ========
wh 46.1ms (10.4ms) 18.4ms (3.2ms) 50.0ms (8.2ms) 17.5ms (2.3ms)
wh mod 117.0ms (35.5ms) 106.0ms (6.6ms) 138.1ms (18.1ms) 106.7ms (6.0ms)
wh -l 67.0ms (2.5ms) 54.2ms (4.8ms) 69.8ms (7.5ms) 53.7ms (4.5ms)
record mod ~562.6ms (35.0ms) ~587.4ms (37.1ms) ~560.9ms (39.7ms) ~578.6ms (36.8ms)
revert mod 134.2ms (16.8ms) 169.5ms (15.3ms) 143.4ms (14.1ms) 156.3ms (14.9ms)
(un)revert mod 334.6ms (9.2ms) 411.5ms (17.7ms) 366.5ms (34.6ms) 392.9ms (14.4ms)
get (full) ?7m48.5s (3.6s) ?7m50.0s (10.4s) ?7m43.1s (2.3s) ?7m34.3s (7.5s)
get (lazy) ?17.9s (2.3s) ?17.5s (3.7s) ?15.1s (0.3s) ?14.7s (0.8s)
pull 100 ?3.1s (0.1s) ?3.5s (0.5s) ?3.1s (0.2s) ?3.2s (0.3s)
pull 1000 ?20.4s (0.7s) ?21.3s (0.6s) ?21.1s (0.7s) ?21.9s (1.2s)
check ?14.5s (0.1s) ?16.3s (0.0s) ?14.5s (0.0s) ?16.3s (0.0s)
repair ?14.5s (0.0s) ?16.3s (0.0s) ?14.5s (0.1s) ?16.3s (0.0s)
annotate ?8.9s (0.0s) ?13.0s (0.1s) ?8.9s (0.0s) ?17.5s (6.9s)
============== ========== ======== ================ ======== ============= ======== =================== ========
__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch318>
__________________________________
More information about the darcs-users
mailing list