Update JetStream2 CLI to not print "ms" since we now just print the score values
authorsbarati@apple.com <sbarati@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Feb 2019 09:54:50 +0000 (09:54 +0000)
committersbarati@apple.com <sbarati@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Feb 2019 09:54:50 +0000 (09:54 +0000)
https://bugs.webkit.org/show_bug.cgi?id=193981

Reviewed by Yusuke Suzuki.

* JetStream2/JetStreamDriver.js:
(DefaultBenchmark.prototype.updateUIAfterRun):
(DefaultBenchmark):
(WSLBenchmark.prototype.updateUIAfterRun):
(WSLBenchmark):
(WasmBenchmark.prototype.updateUIAfterRun):
(WasmBenchmark):

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

PerformanceTests/ChangeLog
PerformanceTests/JetStream2/JetStreamDriver.js

index 7aac53b..d6d6313 100644 (file)
@@ -1,3 +1,18 @@
+2019-02-08  Saam barati  <sbarati@apple.com>
+
+        Update JetStream2 CLI to not print "ms" since we now just print the score values
+        https://bugs.webkit.org/show_bug.cgi?id=193981
+
+        Reviewed by Yusuke Suzuki.
+
+        * JetStream2/JetStreamDriver.js:
+        (DefaultBenchmark.prototype.updateUIAfterRun):
+        (DefaultBenchmark):
+        (WSLBenchmark.prototype.updateUIAfterRun):
+        (WSLBenchmark):
+        (WasmBenchmark.prototype.updateUIAfterRun):
+        (WasmBenchmark):
+
 2019-01-31  Sihui Liu  <sihui_liu@apple.com>
 
         REGRESSION (r240358): IndexedDB/large-binary-keys.html and IndexedDB/large-string-keys.html perf tests failing
index 98dfd92..2c346a0 100644 (file)
@@ -633,9 +633,9 @@ class DefaultBenchmark extends Benchmark {
             return;
         }
 
-        print("    Startup:", uiFriendlyNumber(this.firstIteration), "ms");
-        print("    Worst Case:", uiFriendlyNumber(this.worst4), "ms");
-        print("    Average:", uiFriendlyNumber(this.average), "ms");
+        print("    Startup:", uiFriendlyNumber(this.firstIteration));
+        print("    Worst Case:", uiFriendlyNumber(this.worst4));
+        print("    Average:", uiFriendlyNumber(this.average));
         print("    Score:", uiFriendlyNumber(this.score));
         if (RAMification) {
             print("    Current Footprint:", uiFriendlyNumber(this.currentFootprint));
@@ -727,8 +727,8 @@ class WSLBenchmark extends Benchmark {
             return;
         }
 
-        print("    Stdlib:", uiFriendlyNumber(this.stdlib), "ms");
-        print("    Tests:", uiFriendlyNumber(this.mainRun), "ms");
+        print("    Stdlib:", uiFriendlyNumber(this.stdlib));
+        print("    Tests:", uiFriendlyNumber(this.mainRun));
         print("    Score:", uiFriendlyNumber(this.score));
         if (RAMification) {
             print("    Current Footprint:", uiFriendlyNumber(this.currentFootprint));
@@ -883,8 +883,8 @@ class WasmBenchmark extends Benchmark {
             document.getElementById(this.scoreID).innerHTML = uiFriendlyNumber(this.score);
             return;
         }
-        print("    Startup:", uiFriendlyNumber(this.startupTime), "ms");
-        print("    Run time:", uiFriendlyNumber(this.runTime), "ms");
+        print("    Startup:", uiFriendlyNumber(this.startupTime));
+        print("    Run time:", uiFriendlyNumber(this.runTime));
         if (RAMification) {
             print("    Current Footprint:", uiFriendlyNumber(this.currentFootprint));
             print("    Peak Footprint:", uiFriendlyNumber(this.peakFootprint));