From 8b1924661590e9e8528369fcb5f345a20980acb7 Mon Sep 17 00:00:00 2001 From: Ingvar Stepanyan Date: Sat, 26 Jul 2014 20:49:29 +0300 Subject: [PATCH] Replaced UglifyJS2 with Traceur for fair comparison of ES6-enabled parsers. --- test/bench.html | 28 +- test/compare/uglifyjs.js | 1372 -------------------- test/compare/uglifyjs2.js | 2494 ------------------------------------- 3 files changed, 17 insertions(+), 3877 deletions(-) delete mode 100644 test/compare/uglifyjs.js delete mode 100644 test/compare/uglifyjs2.js diff --git a/test/bench.html b/test/bench.html index 31494f6a1a..9b07d3b917 100644 --- a/test/bench.html +++ b/test/bench.html @@ -4,7 +4,7 @@ Acorn benchmark - + -

Acorn/Esprima/UglifyJS2 speed comparison

+

Acorn/Esprima/Traceur speed comparison

-

This will run each of the three parsers on the source code of +

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 -indicating the number of lines parsed per second. Note that UglifyJS +indicating the number of lines parsed per second. Note that Traceur always stores location data, and is thus not fairly compared by the benchmark without location data.

@@ -35,28 +35,34 @@ numbers.