diff --git a/test/bench.html b/test/bench.html index 064ce4c6b0..fb42472714 100644 --- a/test/bench.html +++ b/test/bench.html @@ -10,15 +10,27 @@

Acorn/Esprima/UglifyJS speed comparison

-

This will run three parsers on the source code of jQuery 1.6.4 and CodeMirror 3.0b1, and show the number of lines parsed per second for each of the parsers in a table.

+

This will run each of the three parsers on the source code of +jQuery 1.6.4 and CodeMirror 3.0b1 for two seconds, and show a table +indicating the number of lines parsed per second. Note that UglifyJS +always stores location data, and is thus not fairly compared by the +benchmark without location data.

- - +

Also note that having the developer tools open in Chrome, or +Firebug in Firefox heavily influences the numbers you get. In +Chrome, the effect even lingers (in the tab) after you close the +developer tools. Load in a fresh tab to get (halfway) stable +numbers.

+ + +