]> git.draconx.ca Git - cdecl99.git/commitdiff
Batch up crossparse tests to improve performance.
authorNick Bowler <nbowler@draconx.ca>
Sat, 3 Mar 2012 03:30:15 +0000 (22:30 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sat, 3 Mar 2012 03:33:33 +0000 (22:33 -0500)
A significant portion of the crossparse test time is spent just starting
the program hundreds of times.  Batch up the random declarations to
reduce this.  This makes the test script somewhat more complex, but the
gain is significant: the test time (500 iterations) on my machine is
shortened from 7 seconds to a mere .7 seconds.


No differences found