Refined power management in SunSpider 1.0.2
[WebKit-https.git] / PerformanceTests / SunSpider / resources / TEMPLATE.html
index 2d6420f..ba6a6eb 100644 (file)
 
 <title>SunSpider @NAME@</title>
 <link rel="stylesheet" href="../sunspider.css">
-<style>
-#countdown {
-    font-size: 128px; 
-    text-align: center;
-}
-</style>
 </head>
 
 <body>
-<h3 id="countdown"></h3>
+<h3>@NAME@</h3>
+<div id="console">
+</div>
 <script>
-if (window.parent) {
-    document.getElementById("countdown").innerHTML =
-        window.parent.currentRepeat < 0
-            ? "warmup"
-            : (window.parent.repeatCount - window.parent.currentRepeat);
-}
-
 function record(time) {
-    if (window.parent)
+    document.getElementById("console").innerHTML = time + "ms";
+    if (window.parent) {
         parent.recordResult(time);
+    }
 }
 
 window.onerror = function(e) {