From: Juriy Zaytsev Date: Mon, 15 Mar 2010 17:52:20 +0000 (-0400) Subject: Add simple V8 perf. test (minifying amazon home page). X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=6c7e4ebeceecebe948bd6b67469de712aff5253e;p=html-minifier.git Add simple V8 perf. test (minifying amazon home page). --- diff --git a/v8/test.html b/v8/test.html new file mode 100644 index 0000000..9a3b7b9 --- /dev/null +++ b/v8/test.html @@ -0,0 +1,6673 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Amazon.com: Online Shopping for Electronics, Apparel, Computers, Books, DVDs & more + + + + + + + + + + + + + + + + + +
+A different version of this web site containing similar content optimized for screen readers and mobile devices may be found at the web address: www.amazon.com/access
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + + + + +
+
+ + +
+ + +
Shop Strathwood Patio Furniture Shop Strathwood Patio Furniture

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + +
+ + + + + +
+
+ + "Precious Charities" +
+
+ is still available! + Claim yours +
+
+
+ +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +

Nintendo's New DSi XL

Nintendo DSi XL
The newly announced +Nintendo DSi XL includes two 4.2-inch LCD screens, three bundled games, and an Internet browser and comes in two new colors. +

Learn more

+
+ +
+
+ + + + + + + + + + +
Kindle:  Free wireless, no contracts Kindle:  Free wireless, no contracts

+ +
+ + + +

What Other Customers Are Looking At Right Now

+
+
+
+
+Hoover Elite Rewind... +
+
+
+
+ +$139.00 $89.99 +
+
+
+
+
+
+Into the Woods +
+
+
+ +
+
+Into the Woods + +
+$24.98 $18.99 +
+
+
+
+
+ +
+Kodak EasyShare M820... +
+
+ + +
+
+ + + + +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +

Your Favorite Childhood Candies

+
+ +
+
+
+50's Decade Box +
+
+
+
+
+50's Decade Box + +
+ +$39.95 +
+
+
+
+
+
+70's Decade Box +
+
+
+
+
+70's Decade Box + + +
+$39.95 +
+
+
+
+
+
+80's Decade Box +
+
+
+ +
+
+80's Decade Box + +
+$29.99 +
+
+
+
+ + + + +
+ +
+
+ +

+See more +

+
+
+
+ + + +

iPods Bestsellers

+ +
+
+
+
+Apple iPod touch... +
+
+
+
+ + +$299.99 $266.99 +
+
+
+
+
+
+Apple iPod classic... +
+
+
+
+ +$249.99 $228.50 +
+
+
+
+
+
+Apple iPod nano... +
+ +
+
+
+ +$179.99 $159.95 +
+
+ +
+
+ + + +
+ +
+
+ +

+See all bestsellers in iPods +

+
+
+ +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/v8/test.js b/v8/test.js new file mode 100644 index 0000000..3b52f55 --- /dev/null +++ b/v8/test.js @@ -0,0 +1,8 @@ +load('../src/htmlparser.js'); +load('../src/htmlminifier.js'); + +var input = read('test.html'), + t1 = new Date(), + output = minify(input); + +print('minified in: ' + (new Date() - t1) + 'ms'); \ No newline at end of file