Title: [215695] trunk/LayoutTests
Revision
215695
Author
sbar...@apple.com
Date
2017-04-24 14:17:24 -0700 (Mon, 24 Apr 2017)

Log Message

[mac debug] LayoutTest workers/wasm-long-compile-many.html is a flaky timeout
https://bugs.webkit.org/show_bug.cgi?id=171120
<rdar://problem/31781889>

Rubber stamped by Mark Lam.

Make the wasm binary we compile close to 50% smaller.

* workers/wasm-resources/long-compile-many.js:
(i.async.run):
(i.worker.onmessage):
* workers/wasm-resources/long-compile-worker.js:
* workers/wasm-resources/long-compile.js:
(async.run):
(worker.onmessage):

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (215694 => 215695)


--- trunk/LayoutTests/ChangeLog	2017-04-24 21:11:44 UTC (rev 215694)
+++ trunk/LayoutTests/ChangeLog	2017-04-24 21:17:24 UTC (rev 215695)
@@ -1,3 +1,21 @@
+2017-04-24  Saam Barati  <sbar...@apple.com>
+
+        [mac debug] LayoutTest workers/wasm-long-compile-many.html is a flaky timeout
+        https://bugs.webkit.org/show_bug.cgi?id=171120
+        <rdar://problem/31781889>
+
+        Rubber stamped by Mark Lam.
+
+        Make the wasm binary we compile close to 50% smaller.
+
+        * workers/wasm-resources/long-compile-many.js:
+        (i.async.run):
+        (i.worker.onmessage):
+        * workers/wasm-resources/long-compile-worker.js:
+        * workers/wasm-resources/long-compile.js:
+        (async.run):
+        (worker.onmessage):
+
 2017-04-24  Ryan Haddad  <ryanhad...@apple.com>
 
         Mark media/modern-media-controls/scrubber-support/scrubber-support-click.html as flaky.

Modified: trunk/LayoutTests/workers/wasm-resources/long-compile-many.js (215694 => 215695)


--- trunk/LayoutTests/workers/wasm-resources/long-compile-many.js	2017-04-24 21:11:44 UTC (rev 215694)
+++ trunk/LayoutTests/workers/wasm-resources/long-compile-many.js	2017-04-24 21:17:24 UTC (rev 215695)
@@ -22,7 +22,7 @@
 
         async function run(module) {
             let instance = await WebAssembly.instantiate(module);
-            const count = 12500;
+            const count = 7000;
             if (instance.exports.f1(i) !== (i*count + i*2))
                 console.log("Bad result");
             else

Modified: trunk/LayoutTests/workers/wasm-resources/long-compile-worker.js (215694 => 215695)


--- trunk/LayoutTests/workers/wasm-resources/long-compile-worker.js	2017-04-24 21:11:44 UTC (rev 215694)
+++ trunk/LayoutTests/workers/wasm-resources/long-compile-worker.js	2017-04-24 21:17:24 UTC (rev 215695)
@@ -1819,7 +1819,7 @@
                 .GetLocal(0)
                 .I32Add();
 
-    const count = 12500;
+    const count = 7000;
     for (let i = 0; i < count; i++) {
         builder = builder.GetLocal(0).I32Add();
     }

Modified: trunk/LayoutTests/workers/wasm-resources/long-compile.js (215694 => 215695)


--- trunk/LayoutTests/workers/wasm-resources/long-compile.js	2017-04-24 21:11:44 UTC (rev 215694)
+++ trunk/LayoutTests/workers/wasm-resources/long-compile.js	2017-04-24 21:17:24 UTC (rev 215695)
@@ -21,7 +21,7 @@
     async function run(module) {
         let start = Date.now();
         let instance = await WebAssembly.instantiate(module);
-        const count = 12500;
+        const count = 7000;
         if (instance.exports.f1(4) !== (4*count + 4*2))
             console.log("Bad result");
         else
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to