Title: [279177] trunk/JSTests
Revision
279177
Author
sbar...@apple.com
Date
2021-06-23 11:49:44 -0700 (Wed, 23 Jun 2021)

Log Message

Bound stress/put-by-id-flags with a fixed number of iterations
https://bugs.webkit.org/show_bug.cgi?id=227305

Reviewed by Mark Lam.

* stress/put-by-id-flags.js:
(numberOfDFGCompiles): Deleted.

Modified Paths

Diff

Modified: trunk/JSTests/ChangeLog (279176 => 279177)


--- trunk/JSTests/ChangeLog	2021-06-23 18:38:56 UTC (rev 279176)
+++ trunk/JSTests/ChangeLog	2021-06-23 18:49:44 UTC (rev 279177)
@@ -1,5 +1,15 @@
 2021-06-23  Saam Barati  <sbar...@apple.com>
 
+        Bound stress/put-by-id-flags with a fixed number of iterations
+        https://bugs.webkit.org/show_bug.cgi?id=227305
+
+        Reviewed by Mark Lam.
+
+        * stress/put-by-id-flags.js:
+        (numberOfDFGCompiles): Deleted.
+
+2021-06-23  Saam Barati  <sbar...@apple.com>
+
         Run typedarray-intrinsic-getters-change-prototype for a fixed set of iterations
         https://bugs.webkit.org/show_bug.cgi?id=227304
 

Modified: trunk/JSTests/stress/put-by-id-flags.js (279176 => 279177)


--- trunk/JSTests/stress/put-by-id-flags.js	2021-06-23 18:38:56 UTC (rev 279176)
+++ trunk/JSTests/stress/put-by-id-flags.js	2021-06-23 18:49:44 UTC (rev 279177)
@@ -13,10 +13,12 @@
 f(x, 42);
 f(y, {});
 
-while (!numberOfDFGCompiles(g)) {
+for (let i = 0; i < 1000; ++i) {
     optimizeNextInvocation(g);
     if (typeof g(x) !== 'number')
         throw 'failed warming up';
+    if (numberOfDFGCompiles(g))
+        break;
 }
 
 if (typeof g(y) !== 'string')
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to