<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - REGRESSION (r203142): Layout test js/regress-139548.html is 10x slower."
href="https://bugs.webkit.org/show_bug.cgi?id=160017#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - REGRESSION (r203142): Layout test js/regress-139548.html is 10x slower."
href="https://bugs.webkit.org/show_bug.cgi?id=160017">bug 160017</a>
from <span class="vcard"><a class="email" href="mailto:clopez@igalia.com" title="Carlos Alberto Lopez Perez <clopez@igalia.com>"> <span class="fn">Carlos Alberto Lopez Perez</span></a>
</span></b>
<pre>The tests seems quite sensible to the JSC_stackSizeInBytes value.
This patch makes it finish in 10 seconds instead of 25:
--- a/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
+++ b/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
@@ -75,7 +75,7 @@ def main(argv, stdout, stderr):
try:
# Force all tests to use a smaller stack so that stack overflow tests can run faster.
- stackSizeInBytes = int(1.5 * 1024 * 1024)
+ stackSizeInBytes = int(0.5 * 1024 * 1024)
options.additional_env_var.append('JSC_maxPerThreadStackUsage=' + str(stackSizeInBytes))
options.additional_env_var.append('__XPC_JSC_maxPerThreadStackUsage=' + str(stackSizeInBytes))
run_details = run(port, options, args, stderr)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>