From d06194330da2bb8da887d2e1adeacb3a5c1504b2 Mon Sep 17 00:00:00 2001 From: Steve Block Date: Wed, 5 Jan 2011 12:15:11 +0000 Subject: Merge WebKit at r72805: Initial merge by Git Note that this is a backwards merge from Chromium release 9.0.600.0 to 9.0.597.0, to align with the Chromium 9 stable release branch. Change-Id: I5d2bb4e8cee9d39ae8485abf48bdb55ecf8b3790 --- SunSpider/ChangeLog | 10 ---------- SunSpider/resources/sunspider-standalone-driver.js | 5 +++-- 2 files changed, 3 insertions(+), 12 deletions(-) (limited to 'SunSpider') diff --git a/SunSpider/ChangeLog b/SunSpider/ChangeLog index 8241848..279a389 100644 --- a/SunSpider/ChangeLog +++ b/SunSpider/ChangeLog @@ -1,13 +1,3 @@ -2010-11-29 Geoffrey Garen - - Reviewed by Gavin Barraclough. - - Improved accuracy of command-line SunSpider. - - * resources/sunspider-standalone-driver.js: Use the returned number of - elapsed milliseconds from "run" and "checkSyntax" instead of measuring - ourselves, for slightly more accurate numbers. - 2010-09-16 Gavin Barraclough Reviewed by Mark Rowe. diff --git a/SunSpider/resources/sunspider-standalone-driver.js b/SunSpider/resources/sunspider-standalone-driver.js index 136e6b7..a015822 100644 --- a/SunSpider/resources/sunspider-standalone-driver.js +++ b/SunSpider/resources/sunspider-standalone-driver.js @@ -35,9 +35,10 @@ for (var j = 0; j < tests.length; j++) { var testName = suitePath + "/" + tests[j] + ".js"; var startTime = new Date; if (testName.indexOf('parse-only') >= 0) - times[j] = checkSyntax(testName); + checkSyntax(testName); else - times[j] = run(testName); + load(testName); + times[j] = new Date() - startTime; gc(); } -- cgit v1.1