Title: [279845] trunk/JSTests
- Revision
- 279845
- Author
- sbar...@apple.com
- Date
- 2021-07-12 12:05:55 -0700 (Mon, 12 Jul 2021)
Log Message
Run some tests for fewer iterations to prevent test timeouts
https://bugs.webkit.org/show_bug.cgi?id=227879
Reviewed by Mark Lam.
* microbenchmarks/get-by-val-negative-array-index.js:
* microbenchmarks/memcpy-typed-loop-small.js:
* microbenchmarks/put-by-val-negative-array-index.js:
Modified Paths
Diff
Modified: trunk/JSTests/ChangeLog (279844 => 279845)
--- trunk/JSTests/ChangeLog 2021-07-12 18:56:16 UTC (rev 279844)
+++ trunk/JSTests/ChangeLog 2021-07-12 19:05:55 UTC (rev 279845)
@@ -1,5 +1,16 @@
2021-07-12 Saam Barati <sbar...@apple.com>
+ Run some tests for fewer iterations to prevent test timeouts
+ https://bugs.webkit.org/show_bug.cgi?id=227879
+
+ Reviewed by Mark Lam.
+
+ * microbenchmarks/get-by-val-negative-array-index.js:
+ * microbenchmarks/memcpy-typed-loop-small.js:
+ * microbenchmarks/put-by-val-negative-array-index.js:
+
+2021-07-12 Saam Barati <sbar...@apple.com>
+
stress/wasm-loop-consistency.js should require the --useExecutableAllocationFuzz=false JSC option
https://bugs.webkit.org/show_bug.cgi?id=227876
Modified: trunk/JSTests/microbenchmarks/get-by-val-negative-array-index.js (279844 => 279845)
--- trunk/JSTests/microbenchmarks/get-by-val-negative-array-index.js 2021-07-12 18:56:16 UTC (rev 279844)
+++ trunk/JSTests/microbenchmarks/get-by-val-negative-array-index.js 2021-07-12 19:05:55 UTC (rev 279845)
@@ -10,10 +10,10 @@
noInline(foo);
const arr = new Array(10).fill({});
-for (let i = 0; i < 1e6; i++) {
+for (let i = 0; i < 1e5; i++) {
foo(arr, i % arr.length);
}
-for (let i = 0; i < 1e6; i++) {
+for (let i = 0; i < 1e5; i++) {
foo(arr, i % arr.length);
if (!(i % arr.length))
foo(arr, -1);
Modified: trunk/JSTests/microbenchmarks/memcpy-typed-loop-small.js (279844 => 279845)
--- trunk/JSTests/microbenchmarks/memcpy-typed-loop-small.js 2021-07-12 18:56:16 UTC (rev 279844)
+++ trunk/JSTests/microbenchmarks/memcpy-typed-loop-small.js 2021-07-12 19:05:55 UTC (rev 279845)
@@ -16,7 +16,7 @@
arr1[i] = i
}
- for (let i=0; i<1_000_000; ++i) doTest(arr1, arr2)
+ for (let i=0; i<100_000; ++i) doTest(arr1, arr2)
arr2 = new Int32Array(arr1.length)
doTest(arr1, arr2)
Modified: trunk/JSTests/microbenchmarks/put-by-val-negative-array-index.js (279844 => 279845)
--- trunk/JSTests/microbenchmarks/put-by-val-negative-array-index.js 2021-07-12 18:56:16 UTC (rev 279844)
+++ trunk/JSTests/microbenchmarks/put-by-val-negative-array-index.js 2021-07-12 19:05:55 UTC (rev 279845)
@@ -11,10 +11,10 @@
const arr = new Array(10).fill({});
let result = 0;
-for (let i = 0; i < 1e6; i++) {
+for (let i = 0; i < 1e5; i++) {
result += foo(arr, i % arr.length);
}
-for (let i = 0; i < 1e6; i++) {
+for (let i = 0; i < 1e5; i++) {
result += foo(arr, i % arr.length);
if (!(i % arr.length))
result += foo(arr, -1);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes