Title: [206646] trunk/JSTests
Revision
206646
Author
sbar...@apple.com
Date
2016-09-30 11:39:59 -0700 (Fri, 30 Sep 2016)

Log Message

Make some microbenchmarks run for less time.

Rubber stamped by Filip Pizlo.

* microbenchmarks/bound-function-construction-performance.js:
(foo):
* microbenchmarks/getter-richards-try-catch.js:

Modified Paths

Diff

Modified: trunk/JSTests/ChangeLog (206645 => 206646)


--- trunk/JSTests/ChangeLog	2016-09-30 18:39:30 UTC (rev 206645)
+++ trunk/JSTests/ChangeLog	2016-09-30 18:39:59 UTC (rev 206646)
@@ -1,3 +1,13 @@
+2016-09-30  Saam Barati  <sbar...@apple.com>
+
+        Make some microbenchmarks run for less time.
+
+        Rubber stamped by Filip Pizlo.
+
+        * microbenchmarks/bound-function-construction-performance.js:
+        (foo):
+        * microbenchmarks/getter-richards-try-catch.js:
+
 2016-09-29  Joseph Pecoraro  <pecor...@apple.com>
 
         Arrow functions do not infer name from computed property but normal functions do

Modified: trunk/JSTests/microbenchmarks/bound-function-construction-performance.js (206645 => 206646)


--- trunk/JSTests/microbenchmarks/bound-function-construction-performance.js	2016-09-30 18:39:30 UTC (rev 206645)
+++ trunk/JSTests/microbenchmarks/bound-function-construction-performance.js	2016-09-30 18:39:59 UTC (rev 206646)
@@ -7,7 +7,7 @@
 
 function foo() {
     function f() { }
-    for (let i = 0; i < 15000000; i++) {
+    for (let i = 0; i < 400000; i++) {
         makeBoundFunc(f); 
     }
 }

Modified: trunk/JSTests/microbenchmarks/getter-richards-try-catch.js (206645 => 206646)


--- trunk/JSTests/microbenchmarks/getter-richards-try-catch.js	2016-09-30 18:39:30 UTC (rev 206645)
+++ trunk/JSTests/microbenchmarks/getter-richards-try-catch.js	2016-09-30 18:39:59 UTC (rev 206646)
@@ -1147,5 +1147,5 @@
     return "Packet";
 };
 
-for (var i = 0; i < 350; ++i)
+for (var i = 0; i < 30; ++i)
     runRichards();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to