WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
26540
Modify SunSpider and jsc test shell to add a parsing only test suite
https://bugs.webkit.org/show_bug.cgi?id=26540
Summary
Modify SunSpider and jsc test shell to add a parsing only test suite
Adam Treat
Reported
2009-06-19 07:49:35 PDT
Hi, Currently the SunSpider test driver lacks an option to run a test suite that will test parsing performance only. Attached you'll find a patch that adds just such a test suite and option to SunSpider and the jsc test shell. I've included three large javascript source files found in the wild: jquery, mootools and prototype. Together and combined with the concatenation of all three, these form a new testsuite to measure and test pure parsing performance. Cheers.
Attachments
Add a new testsuite for parsing performance to SunSpider and jsc.cpp
(715.73 KB, patch)
2009-06-19 07:56 PDT
,
Adam Treat
oliver
: review-
Details
Formatted Diff
Diff
Cleaned up patch taking into account Oliver's comment
(717.44 KB, patch)
2009-06-19 11:56 PDT
,
Adam Treat
no flags
Details
Formatted Diff
Diff
Change the docs in the ChangeLog to reflect 'checkSyntax' addition
(717.37 KB, patch)
2009-06-19 12:00 PDT
,
Adam Treat
oliver
: review+
Details
Formatted Diff
Diff
proposed patch
(2.09 KB, patch)
2009-09-21 05:49 PDT
,
Csaba Osztrogonác
eric
: review-
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Adam Treat
Comment 1
2009-06-19 07:56:56 PDT
Created
attachment 31544
[details]
Add a new testsuite for parsing performance to SunSpider and jsc.cpp
Oliver Hunt
Comment 2
2009-06-19 11:25:57 PDT
Comment on
attachment 31544
[details]
Add a new testsuite for parsing performance to SunSpider and jsc.cpp This shouldn't add new commandline arguments to jsc unless they have general case value. I would make the parser test be parser.js: checkSyntax("parser-test-sources.js")
Adam Treat
Comment 3
2009-06-19 11:56:23 PDT
Created
attachment 31555
[details]
Cleaned up patch taking into account Oliver's comment
Adam Treat
Comment 4
2009-06-19 12:00:37 PDT
Created
attachment 31558
[details]
Change the docs in the ChangeLog to reflect 'checkSyntax' addition
Oliver Hunt
Comment 5
2009-06-19 12:28:32 PDT
Comment on
attachment 31558
[details]
Change the docs in the ChangeLog to reflect 'checkSyntax' addition missing a new line at the end of a couple of the files, correct those and r=me
Adam Treat
Comment 6
2009-06-19 13:57:56 PDT
Landed with 44870.
Csaba Osztrogonác
Comment 7
2009-09-21 05:49:42 PDT
Created
attachment 39847
[details]
proposed patch The patch landed in
http://trac.webkit.org/changeset/44870
works correctly, but if you run WebKitTools/Scripts/run-sunspider, it doesn't pass the --parse-only parameter to SunSpider/sunspider script.
Eric Seidel (no email)
Comment 8
2009-09-21 13:25:47 PDT
Comment on
attachment 39847
[details]
proposed patch Please file a new bug for this patch.
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