Bug 974620 - tcanvasmark wastes time waiting after each scene. r=jmaher
authormalayaleecoder <malayaleecoder@gmail.com>
Mon, 18 Jul 2016 11:00:20 +0530
changeset 347384 d0cb076a4e736e89f8393ba5658148ae5be4171d
parent 347383 bfb76ef187d9793edbc16aab9c42555a4b7c347f
child 347385 c16134a5a20fd1631076c7bb115ea108145dcf17
push id6389
push userraliiev@mozilla.com
push dateMon, 19 Sep 2016 13:38:22 +0000
treeherdermozilla-beta@01d67bfe6c81 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher
bugs974620
milestone50.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 974620 - tcanvasmark wastes time waiting after each scene. r=jmaher
testing/talos/talos/tests/canvasmark/scripts/canvasmark_v6.js
--- a/testing/talos/talos/tests/canvasmark/scripts/canvasmark_v6.js
+++ b/testing/talos/talos/tests/canvasmark/scripts/canvasmark_v6.js
@@ -449,17 +449,17 @@ window.requestAnimFrame = (function()
       },
       
       onKeyUpHandler: function onKeyUpHandler(keyCode)
       {
       },
       
       isComplete: function isComplete()
       {
-         return this.sceneCompletedTime && (Date.now() - this.sceneCompletedTime > 2000);
+         return this.sceneCompletedTime && (Date.now() > this.sceneCompletedTime);
       },
       
       intervalRenderer: function intervalRenderer(interval, ctx)
       {
          if (interval.framecounter++ < 100)
          {
             Game.centerFillText(ctx, interval.label, "14pt Courier New", GameHandler.height/2 - 8, "white");
          }