Add memory measurement to balls.html and dromaeorunner.js
[WebKit-https.git] / PerformanceTests / Dromaeo / resources / dromaeorunner.js
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
+ })();