Bug 974620 - tcanvasmark wastes time waiting after each scene. r=jmaher
authormalayaleecoder <malayaleecoder@gmail.com>
Mon, 18 Jul 2016 11:00:20 +0530
changeset 349454 d0cb076a4e736e89f8393ba5658148ae5be4171d
parent 349453 bfb76ef187d9793edbc16aab9c42555a4b7c347f
child 349455 c16134a5a20fd1631076c7bb115ea108145dcf17
push id1230
push userjlund@mozilla.com
push dateMon, 31 Oct 2016 18:13:35 +0000
treeherdermozilla-release@5e06e3766db2 [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");
          }