Bug 133437

Summary: DYEBench: Split stylesheets and scripts in Full.html into separate files
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: Tools / TestsAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, benjamin, darin, kling, mjs
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 133438    
Attachments:
Description Flags
Cleanup and fixes one bug along the way
none
Revised the change log entry benjamin: review+

Description Ryosuke Niwa 2014-06-01 13:08:11 PDT
There's no need in keeping all of them in one file.
Comment 1 Ryosuke Niwa 2014-06-01 13:11:26 PDT
Created attachment 232352 [details]
Cleanup and fixes one bug along the way
Comment 2 Ryosuke Niwa 2014-06-01 13:15:46 PDT
Created attachment 232353 [details]
Revised the change log entry
Comment 3 Ryosuke Niwa 2014-06-01 13:16:53 PDT
Comment on attachment 232353 [details]
Revised the change log entry

View in context: https://bugs.webkit.org/attachment.cgi?id=232353&action=review

> PerformanceTests/DoYouEvenBench/resources/main.js:3
> +(function () {
> +
> +var values = [];

I've purposefully kept this unintended so that I can do the planned refactoring in the next patch without completely messing up the diff.
Comment 4 Ryosuke Niwa 2014-06-01 13:18:29 PDT
Comment on attachment 232353 [details]
Revised the change log entry

View in context: https://bugs.webkit.org/attachment.cgi?id=232353&action=review

>> PerformanceTests/DoYouEvenBench/resources/main.js:3
>> +var values = [];
> 
> I've purposefully kept this unintended so that I can do the planned refactoring in the next patch without completely messing up the diff.

Namely, I'd like to move all these local variables into benchmarkClient and avoid using the closure altogether.
Comment 5 Benjamin Poulain 2014-06-01 13:33:14 PDT
Comment on attachment 232353 [details]
Revised the change log entry

View in context: https://bugs.webkit.org/attachment.cgi?id=232353&action=review

> PerformanceTests/DoYouEvenBench/Full.html:11
> +    <script src="resources/main.js"></script>
> +    <script src="resources/benchmark-runner.js"></script>
> +    <script src="resources/benchmark-report.js"></script>
> +    <script src="../resources/statistics.js"></script>
> +    <script src="resources/tests.js"></script>

Can anything be made async/defer?
Comment 6 Ryosuke Niwa 2014-06-01 13:36:42 PDT
(In reply to comment #5)
> (From update of attachment 232353 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=232353&action=review
> 
> > PerformanceTests/DoYouEvenBench/Full.html:11
> > +    <script src="resources/main.js"></script>
> > +    <script src="resources/benchmark-runner.js"></script>
> > +    <script src="resources/benchmark-report.js"></script>
> > +    <script src="../resources/statistics.js"></script>
> > +    <script src="resources/tests.js"></script>
> 
> Can anything be made async/defer?

Sure, we can use defer.   Thanks for the review!
Comment 7 Ryosuke Niwa 2014-06-01 13:39:22 PDT
Committed r169516: <http://trac.webkit.org/changeset/169516>