[Pkg-javascript-commits] [node-acorn-jsx] 247/484: Increased benchmark time to 5 seconds per parser to get more realistic numbers.

Bastien Roucariès rouca at moszumanska.debian.org
Sat Aug 19 14:20:39 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-acorn-jsx.

commit 9d5e0e7973d6172756a521678b721bdd4a0898cd
Author: Ingvar Stepanyan <me at rreverser.com>
Date:   Sat Jul 26 21:18:37 2014 +0300

    Increased benchmark time to 5 seconds per parser to get more realistic numbers.
---
 test/bench.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/bench.html b/test/bench.html
index 9b07d3b..543057c 100644
--- a/test/bench.html
+++ b/test/bench.html
@@ -18,7 +18,7 @@
 <h1>Acorn/Esprima/Traceur speed comparison</h1>
 
 <p>This will run each of the three ES6 parsers on the source code of
-jQuery 1.6.4 and CodeMirror 3.0b1 for two seconds, and show a table
+jQuery 1.6.4 and CodeMirror 3.0b1 for five seconds, and show a table
 indicating the number of lines parsed per second. Note that Traceur
 always stores location data, and is thus not fairly compared by the
 benchmark <em>without</em> location data.<p>
@@ -63,7 +63,7 @@ numbers.</p>
       runner(codemirror30, locations);
       lines += totalLines;
       t1 = nowHost.now();
-      if (t1 - t0 > 2000) break;
+      if (t1 - t0 > 5000) break;
     }
     return lines / ((t1 - t0) / 1000);
   }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-acorn-jsx.git



More information about the Pkg-javascript-commits mailing list