Benchmark: Factor benchmark into several functions run using |setTimeout|
Benchmark: Factor benchmark into several functions run using |setTimeout|

We do this for two reasons:

  1. To avoid bowser mechanism for interrupting long-running scripts to
     kick-in (or at least to not kick-in that often).

  2. To ensure progressive rendering of results in the browser (some
     browsers do not render at all when running JavaScript code).

This does not change the benchmark suite execution speed statistically
significantly on V8.

Detailed results (benchmark suite totals):

---------------------------------
 Test #     Before       After
---------------------------------
      1   31.04 kB/s   31.18 kB/s
      2   31.26 kB/s   30.89 kB/s
      3   31.15 kB/s   31.19 kB/s
      4   30.52 kB/s   31.21 kB/s
      5   31.00 kB/s   30.73 kB/s
---------------------------------
Average   30.99 kB/s   31.04 kB/s
---------------------------------

Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4

luisvt/pegjs,Mingun/pegjs,luisvt/pegjs,wwall/pegjs-fn,crguezl/pegjs,jlturner/pegjs,GerHobbelt/pegjs,wwall/pegjs-fn,Sciumo/pegjs,GerHobbelt/pegjs,Sciumo/pegjs,jlturner/pegjs,Mingun/pegjs,pegjs/pegjs,pegjs/pegjs,crguezl/pegjs,mcanthony/pegjs,mcanthony/pegjs