RESOLVED FIXED 175926
Speedometer: Restructure Ember example
https://bugs.webkit.org/show_bug.cgi?id=175926
Summary Speedometer: Restructure Ember example
Mathias Bynens
Reported 2017-08-24 00:04:12 PDT
Speedometer: Remove unused stylesheet in Ember example
Attachments
Patch (32.36 KB, patch)
2017-08-24 00:05 PDT, Mathias Bynens
no flags
Patch (32.37 KB, patch)
2017-08-24 00:19 PDT, Mathias Bynens
no flags
Patch (3.95 MB, patch)
2017-08-24 01:51 PDT, Mathias Bynens
no flags
Results before and after applying the patch (93.82 KB, application/pdf)
2017-08-24 02:18 PDT, Mathias Bynens
no flags
Mathias Bynens
Comment 1 2017-08-24 00:05:54 PDT
Mathias Bynens
Comment 2 2017-08-24 00:14:24 PDT
I know the diff looks massive (because of the generated + minified files), but don’t despair! Only the hashes changed. E.g. the only difference in todomvc-*.js is the `version` hash at the bottom. Old version: version: "0.0.0+164d27e2" New version: version: "0.0.0+a2ca1650"
Mathias Bynens
Comment 3 2017-08-24 00:19:47 PDT
Ryosuke Niwa
Comment 4 2017-08-24 01:28:07 PDT
Comment on attachment 318972 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=318972&action=review > PerformanceTests/ChangeLog:10 > + * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/index.html: Removed stylesheet reference. > + * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/styles/.gitkeep: Added. > + * Speedometer/resources/todomvc/architecture-examples/emberjs/source/dist/*: Regenerated per build instructions. Something is not right. tests.js refer to todomvc/architecture-examples/emberjs/index.html yet this is re-generating emberjs/source/dist/index.html: Suites.push({ name: 'EmberJS-TodoMVC', url: 'todomvc/architecture-examples/emberjs/index.html',
Mathias Bynens
Comment 5 2017-08-24 01:51:26 PDT
Mathias Bynens
Comment 6 2017-08-24 01:54:39 PDT
(In reply to Ryosuke Niwa from comment #4) > Comment on attachment 318972 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=318972&action=review > > > PerformanceTests/ChangeLog:10 > > + * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/index.html: Removed stylesheet reference. > > + * Speedometer/resources/todomvc/architecture-examples/emberjs/source/app/styles/.gitkeep: Added. > > + * Speedometer/resources/todomvc/architecture-examples/emberjs/source/dist/*: Regenerated per build instructions. > > Something is not right. tests.js refer to > todomvc/architecture-examples/emberjs/index.html yet this is re-generating > emberjs/source/dist/index.html: > > Suites.push({ > name: 'EmberJS-TodoMVC', > url: 'todomvc/architecture-examples/emberjs/index.html', Good catch. That should’ve been `todomvc/architecture-examples/emberjs/source/dist/index.html` all along. EmberJS is the only test with such a weird directory structure: `/emberjs` is pretty much empty, `/emberjs/source` contains the actual source, but the output is written to `/emberjs/source/dist`. The new patch fixes that as well by getting rid of the intermediate `source` folder.
Mathias Bynens
Comment 7 2017-08-24 02:18:58 PDT
Created attachment 318978 [details] Results before and after applying the patch
Ryosuke Niwa
Comment 8 2017-08-24 13:46:15 PDT
Okay, this results in a dramatic performance improvements in both Safari & Chrome. The magnitude of the change here is almost 4x. I don't think we can accept this change as is. == Before == Safari 34.6 34.9 34.7 Chrome 28.0 28.4 28.1 == After == Safari 108 107 109 Chrome 109 107 110
Ryosuke Niwa
Comment 9 2017-08-25 14:25:35 PDT
Comment on attachment 318976 [details] Patch Now that https://trac.webkit.org/changeset/221205 has been landed, we can land this.
WebKit Commit Bot
Comment 10 2017-08-25 15:00:56 PDT
Comment on attachment 318976 [details] Patch Clearing flags on attachment: 318976 Committed r221206: <http://trac.webkit.org/changeset/221206>
WebKit Commit Bot
Comment 11 2017-08-25 15:00:58 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 12 2017-08-25 15:04:27 PDT
Note You need to log in before you can comment on or make changes to this bug.