WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
159524
Change run-webkit-tests.py and run-jsc-stress-tests to use a smaller JS stack size for testing.
https://bugs.webkit.org/show_bug.cgi?id=159524
Summary
Change run-webkit-tests.py and run-jsc-stress-tests to use a smaller JS stack...
Mark Lam
Reported
2016-07-07 14:55:41 PDT
Let's force all tests to run with a smaller JS stack size than the default 4M. This will help stack overflow tests to run faster. The actual size to use is TBD. Currently, it's looking like 384KB. Continuing to test.
Attachments
proposed patch.
(5.61 KB, patch)
2016-07-08 15:08 PDT
,
Mark Lam
msaboff
: review+
Details
Formatted Diff
Diff
patch for landing.
(6.30 KB, patch)
2016-07-08 15:36 PDT
,
Mark Lam
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Mark Lam
Comment 1
2016-07-08 15:03:02 PDT
I end up going with 1.5M and fixing some tests to behave better.
Mark Lam
Comment 2
2016-07-08 15:08:53 PDT
Created
attachment 283202
[details]
proposed patch.
Michael Saboff
Comment 3
2016-07-08 15:16:09 PDT
Comment on
attachment 283202
[details]
proposed patch. View in context:
https://bugs.webkit.org/attachment.cgi?id=283202&action=review
r=me Did you check 1.5M stack on all the platforms you can test on?
> LayoutTests/js/script-tests/stack-overflow-arrity-catch.js:8 > function funcWith20Args(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, > arg9, arg10, arg11, arg12, arg13, arg14, arg15, > - arg16, arg17, arg18, arg19, arg20) > + arg16, arg17, arg18, arg19, arg20, > + arg21, arg22, arg23, arg24, arg25, arg26, arg27, arg28, > + arg29, arg30, arg31, arg32, arg33, arg34, arg35, > + arg36, arg37, arg38, arg39, arg40)
You should change the name of the function.
Mark Lam
Comment 4
2016-07-08 15:34:08 PDT
(In reply to
comment #3
)
> Comment on
attachment 283202
[details]
> proposed patch. > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=283202&action=review
> > r=me > Did you check 1.5M stack on all the platforms you can test on?
I only tested on x86_64, but I think the 1.5M size should be reasonable. I wasn't cutting it too close. I'll wait till Monday morning before landing so that we can see what the bots say, and respond accordingly.
> > LayoutTests/js/script-tests/stack-overflow-arrity-catch.js:8 > > function funcWith20Args(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, > > arg9, arg10, arg11, arg12, arg13, arg14, arg15, > > - arg16, arg17, arg18, arg19, arg20) > > + arg16, arg17, arg18, arg19, arg20, > > + arg21, arg22, arg23, arg24, arg25, arg26, arg27, arg28, > > + arg29, arg30, arg31, arg32, arg33, arg34, arg35, > > + arg36, arg37, arg38, arg39, arg40) > > You should change the name of the function.
Fixed. Thanks.
Mark Lam
Comment 5
2016-07-08 15:36:12 PDT
Created
attachment 283206
[details]
patch for landing.
Mark Lam
Comment 6
2016-07-11 10:06:15 PDT
Landed in
r203067
: <
http://trac.webkit.org/r203067
>.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug