Create a plan and a patch files for MotionMark and delete the Animometer's ones
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 Jan 2017 01:41:21 +0000 (01:41 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 Jan 2017 01:41:21 +0000 (01:41 +0000)
https://bugs.webkit.org/show_bug.cgi?id=166785

Patch by Said Abou-Hallawa <sabouhallawa@apple.com> on 2017-01-06
Reviewed by Ryosuke Niwa.

* Scripts/webkitpy/benchmark_runner/data/patches/MotionMark.patch: Renamed from Tools/Scripts/webkitpy/benchmark_runner/data/patches/Animometer.patch.
* Scripts/webkitpy/benchmark_runner/data/plans/motionmark.plan: Renamed from Tools/Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@210463 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/Scripts/webkitpy/benchmark_runner/data/patches/MotionMark.patch [moved from Tools/Scripts/webkitpy/benchmark_runner/data/patches/Animometer.patch with 86% similarity]
Tools/Scripts/webkitpy/benchmark_runner/data/plans/motionmark.plan [moved from Tools/Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan with 50% similarity]

index 152d03be4a89789634668fc8724ca5b40fd556c8..4dbe35b6c7b44e280ff3eb9e47db7e14e66581d0 100644 (file)
@@ -1,3 +1,13 @@
+2017-01-06  Said Abou-Hallawa  <sabouhallawa@apple.com>
+
+        Create a plan and a patch files for MotionMark and delete the Animometer's ones
+        https://bugs.webkit.org/show_bug.cgi?id=166785
+
+        Reviewed by Ryosuke Niwa.
+
+        * Scripts/webkitpy/benchmark_runner/data/patches/MotionMark.patch: Renamed from Tools/Scripts/webkitpy/benchmark_runner/data/patches/Animometer.patch.
+        * Scripts/webkitpy/benchmark_runner/data/plans/motionmark.plan: Renamed from Tools/Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan.
+
 2017-01-06  Antoine Quint  <graouts@apple.com>
 
         Support webkit-test-runner key-value pairs in http tests
similarity index 86%
rename from Tools/Scripts/webkitpy/benchmark_runner/data/patches/Animometer.patch
rename to Tools/Scripts/webkitpy/benchmark_runner/data/patches/MotionMark.patch
index 8e2126eabf3ae820450c0237f19ffce0593ded0e..d963097fd1ba244509b157768ee99de768ace03a 100644 (file)
@@ -1,8 +1,8 @@
-diff --git a/resources/runner/animometer.js b/resources/runner/animometer.js
-index b20a1c9..e434e89 100644
---- a/resources/runner/animometer.js
-+++ b/resources/runner/animometer.js
-@@ -320,6 +320,61 @@ window.benchmarkRunnerClient = {
+diff --git a/resources/runner/motionmark.js b/resources/runner/motionmark.js
+index 65e8c54..1643e70 100644
+--- a/resources/runner/motionmark.js
++++ b/resources/runner/motionmark.js
+@@ -393,6 +393,61 @@ window.benchmarkRunnerClient = {
      didFinishLastIteration: function()
      {
          benchmarkController.showResults();
@@ -41,7 +41,7 @@ index b20a1c9..e434e89 100644
 +            options: benchmarkRunnerClient.results.options,
 +            data: benchmarkRunnerClient.results.data,
 +        }
-+        return {"Animometer": {"metrics" : {"Score" : ["Geometric"]}, "tests" : iterationReports }, "debugOutput": debugOutput};
++        return {"MotionMark": {"metrics" : {"Score" : ["Geometric"]}, "tests" : iterationReports }, "debugOutput": debugOutput};
 +    },
 +
 +    didFinishLastIteration: function()
@@ -63,13 +63,13 @@ index b20a1c9..e434e89 100644
 +        xhr.send(results);
      }
  };
-
-@@ -357,7 +408,7 @@ window.sectionsManager =
+@@ -436,7 +491,7 @@ window.sectionsManager =
  window.benchmarkController = {
      initialize: function()
      {
 -        benchmarkController.addOrientationListenerIfNecessary();
 +        setTimeout(benchmarkController.startBenchmark.bind(benchmarkController), 3000);
      },
-
-     addOrientationListenerIfNecessary: function() {
+     determineCanvasSize: function() {
similarity index 50%
rename from Tools/Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan
rename to Tools/Scripts/webkitpy/benchmark_runner/data/plans/motionmark.plan
index c12819a1f0c4f6fdb5f30a3c835c6b0bcbe1e887..08304406fcff60145ec44058e5bb4ee71f12c13a 100644 (file)
@@ -1,8 +1,8 @@
 {
     "timeout": 1800,
     "count": 1,
-    "svn_source": "https://svn.webkit.org/repository/webkit/trunk/PerformanceTests/Animometer/@r202601",
-    "benchmark_patch": "data/patches/Animometer.patch",
+    "svn_source": "https://svn.webkit.org/repository/webkit/trunk/PerformanceTests/MotionMark/@r210459",
+    "benchmark_patch": "data/patches/MotionMark.patch",
     "entry_point": "index.html",
-    "output_file": "animometer.result"
+    "output_file": "motionmark.result"
 }