From 84d9ae6ac2fbed55f0d63573935b76272edea2fa Mon Sep 17 00:00:00 2001 From: "mjs@apple.com" Date: Mon, 17 Dec 2007 11:50:53 +0000 Subject: [PATCH] SunSpider: Reviewed by Mark. - fix compare feature * hosted/sunspider-results.html: WebKitSite: Reviewed by Mark. - fix compare feature * perf/sunspider-0.9/sunspider-results.html: git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28806 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- SunSpider/ChangeLog | 8 ++++++++ SunSpider/hosted/sunspider-results.html | 2 +- WebKitSite/ChangeLog | 8 ++++++++ WebKitSite/perf/sunspider-0.9/sunspider-results.html | 2 +- 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/SunSpider/ChangeLog b/SunSpider/ChangeLog index f68e4d3..0c268cc 100644 --- a/SunSpider/ChangeLog +++ b/SunSpider/ChangeLog @@ -2,6 +2,14 @@ Reviewed by Mark. + - fix compare feature + + * hosted/sunspider-results.html: + +2007-12-17 Maciej Stachowiak + + Reviewed by Mark. + - Change the format of the output URL to be shorter, to meet IE constraints * hosted/sunspider-driver.html: diff --git a/SunSpider/hosted/sunspider-results.html b/SunSpider/hosted/sunspider-results.html index 415c804..0c1e779 100644 --- a/SunSpider/hosted/sunspider-results.html +++ b/SunSpider/hosted/sunspider-results.html @@ -76,7 +76,7 @@ var output2 = output; function compare(other) { document.getElementById("console").innerHTML = ""; - var output1 = eval(decodeURI(other.split("?")[1])); + var output1 = pivot(eval("(" + decodeURI(other.split("?")[1]) + ")")); sunspiderCompareResults(output1, output2); } diff --git a/WebKitSite/ChangeLog b/WebKitSite/ChangeLog index 60a1984..2a9d023 100644 --- a/WebKitSite/ChangeLog +++ b/WebKitSite/ChangeLog @@ -1,5 +1,13 @@ 2007-12-17 Maciej Stachowiak + Reviewed by Mark. + + - fix compare feature + + * perf/sunspider-0.9/sunspider-results.html: + +2007-12-17 Maciej Stachowiak + Rubber stamped by Mark. - Add a copy of SunSpider 0.9 to the site diff --git a/WebKitSite/perf/sunspider-0.9/sunspider-results.html b/WebKitSite/perf/sunspider-0.9/sunspider-results.html index 415c804..0c1e779 100644 --- a/WebKitSite/perf/sunspider-0.9/sunspider-results.html +++ b/WebKitSite/perf/sunspider-0.9/sunspider-results.html @@ -76,7 +76,7 @@ var output2 = output; function compare(other) { document.getElementById("console").innerHTML = ""; - var output1 = eval(decodeURI(other.split("?")[1])); + var output1 = pivot(eval("(" + decodeURI(other.split("?")[1]) + ")")); sunspiderCompareResults(output1, output2); } -- 1.8.3.1