Add memory measurement to balls.html and dromaeorunner.js
authorzoltan@webkit.org <zoltan@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Aug 2012 16:22:05 +0000 (16:22 +0000)
committerzoltan@webkit.org <zoltan@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Aug 2012 16:22:05 +0000 (16:22 +0000)
https://bugs.webkit.org/show_bug.cgi?id=93617

Reviewed by Adam Barth.

Since we added memory measurement support to performance tests we need to modify these tests.

* Animation/balls.html:
* Dromaeo/resources/dromaeorunner.js:

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

PerformanceTests/Animation/balls.html
PerformanceTests/ChangeLog
PerformanceTests/Dromaeo/resources/dromaeorunner.js

index 6b79f19..e56c9f4 100644 (file)
         var stats = PerfTestRunner.computeStatistics(frameRates, "fps");
         statistics.push(stats);
 
-        PerfTestRunner.printStatistics(stats);
+        PerfTestRunner.printStatistics(stats, "Time:");
+        PerfTestRunner.getAndPrintMemoryStatistics();
 
         if (++run < MAX_RUNS) {
             PerfTestRunner.log("<br>===================================================<br>");
index 6ae65ee..6144cb2 100644 (file)
@@ -1,5 +1,17 @@
 2012-08-09  Zoltan Horvath  <zoltan@webkit.org>
 
+        Add memory measurement to balls.html and dromaeorunner.js
+        https://bugs.webkit.org/show_bug.cgi?id=93617
+
+        Reviewed by Adam Barth.
+
+        Since we added memory measurement support to performance tests we need to modify these tests.
+
+        * Animation/balls.html:
+        * Dromaeo/resources/dromaeorunner.js:
+
+2012-08-09  Zoltan Horvath  <zoltan@webkit.org>
+
         JSHeap and FastMallocStatistics based memory measurement for performance-tests
         https://bugs.webkit.org/show_bug.cgi?id=90858
 
index 551a722..a7e0bfb 100644 (file)
@@ -62,7 +62,8 @@
 
          teardown: function(data) {
              var scores = DRT.computeScores(data.result);
-             PerfTestRunner.printStatistics(scores);
+             PerfTestRunner.printStatistics(scores, "Time:");
+             PerfTestRunner.getAndPrintMemoryStatistics();
              window.setTimeout(function() {
                  if (window.testRunner)
                      testRunner.notifyDone();
@@ -87,4 +88,4 @@
      this.prep = DRT.targetDelegateOf("prep");
 
      window.DRT = DRT;
- })();
\ No newline at end of file
+ })();