RESOLVED FIXED 175918
Speedometer 2.0: Update the About page
https://bugs.webkit.org/show_bug.cgi?id=175918
Summary Speedometer 2.0: Update the About page
Ryosuke Niwa
Reported 2017-08-23 19:05:52 PDT
Update the description for Speedometer 2.0.
Attachments
Updates the about page and the version number (3.96 KB, patch)
2017-08-23 19:28 PDT, Ryosuke Niwa
no flags
Revised (4.51 KB, patch)
2017-08-23 21:00 PDT, Ryosuke Niwa
no flags
Adding missing 'as' (4.51 KB, patch)
2017-08-23 21:02 PDT, Ryosuke Niwa
no flags
Removed elm from the list of frameworks (4.51 KB, patch)
2017-08-23 21:07 PDT, Ryosuke Niwa
no flags
Revised per Maciej's comments (5.12 KB, patch)
2017-08-23 21:53 PDT, Ryosuke Niwa
no flags
Revised (5.16 KB, patch)
2017-08-24 02:03 PDT, Ryosuke Niwa
no flags
Capitalized elm (5.16 KB, patch)
2017-08-29 13:06 PDT, Ryosuke Niwa
no flags
Updated again per Maciej's comments (5.10 KB, patch)
2017-09-05 22:23 PDT, Ryosuke Niwa
no flags
Reverted the style change (4.67 KB, patch)
2017-09-05 22:24 PDT, Ryosuke Niwa
no flags
Removed nbsps (4.62 KB, patch)
2018-01-09 19:23 PST, Ryosuke Niwa
no flags
Patch for landing (5.33 KB, patch)
2018-01-09 20:41 PST, Ryosuke Niwa
no flags
Ryosuke Niwa
Comment 1 2017-08-23 19:28:00 PDT
Created attachment 318956 [details] Updates the about page and the version number
Addy Osmani
Comment 2 2017-08-23 19:39:33 PDT
Comment on attachment 318956 [details] Updates the about page and the version number View in context: https://bugs.webkit.org/attachment.cgi?id=318956&action=review LGTM overall with minor suggestions > PerformanceTests/Speedometer/index.html:72 > + and with ten popular JavaScript frameworks: React, Ember.js, Backbone.js, AngularJS, Vue.js, jQuery, Preact, Inferno, elm, and Flight. This looks good. Perhaps the one suggestion here is including Elm in the earlier list with ES5 and ES2015 as it is a compile-to-JS language. We could also include "ES2015 (transpiled with Babel and Webpack)" in that line if you wanted (as it is another workload we include now).
Ryosuke Niwa
Comment 3 2017-08-23 19:42:26 PDT
(In reply to Addy Osmani from comment #2) > Comment on attachment 318956 [details] > Updates the about page and the version number > > View in context: > https://bugs.webkit.org/attachment.cgi?id=318956&action=review > > LGTM overall with minor suggestions > > > PerformanceTests/Speedometer/index.html:72 > > + and with ten popular JavaScript frameworks: React, Ember.js, Backbone.js, AngularJS, Vue.js, jQuery, Preact, Inferno, elm, and Flight. > > This looks good. Perhaps the one suggestion here is including Elm in the > earlier list with ES5 and ES2015 as it is a compile-to-JS language. We could > also include "ES2015 (transpiled with Babel and Webpack)" in that line if > you wanted (as it is another workload we include now). Should we mention Redux there as well? I couldn't come up with a concise & natural sentence to include all that. Any ideas on how to phrase it?
Addy Osmani
Comment 4 2017-08-23 20:28:46 PDT
Oh. Good catch. I tend to consider Redux best coupled with React when listing them. Perhaps "React, React + Redux, Ember.js, Backbone.js etc"? Alternatively, could be included at the end of the list. I'd bucket it with the frameworks list here either way.
Ryosuke Niwa
Comment 5 2017-08-23 21:00:46 PDT
Ryosuke Niwa
Comment 6 2017-08-23 21:02:52 PDT
Created attachment 318964 [details] Adding missing 'as'
Ryosuke Niwa
Comment 7 2017-08-23 21:03:55 PDT
It's kind of weird to say "ten frameworks" and then list twelve things though...
Addy Osmani
Comment 8 2017-08-23 21:04:30 PDT
Comment on attachment 318964 [details] Adding missing 'as' We currently still include elm in the frameworks list "Inferno, elm, and Flight. ". Perhaps drop now that it is mentioned earlier?
Ryosuke Niwa
Comment 9 2017-08-23 21:06:30 PDT
(In reply to Addy Osmani from comment #8) > Comment on attachment 318964 [details] > Adding missing 'as' > > We currently still include elm in the frameworks list "Inferno, elm, and > Flight. ". Perhaps drop now that it is mentioned earlier? Good catch.
Ryosuke Niwa
Comment 10 2017-08-23 21:07:26 PDT
Created attachment 318965 [details] Removed elm from the list of frameworks
Addy Osmani
Comment 11 2017-08-23 21:10:11 PDT
Comment on attachment 318965 [details] Removed elm from the list of frameworks LGTM (with or without a change for phrasing of numbers)
Ryosuke Niwa
Comment 12 2017-08-23 21:53:57 PDT
Created attachment 318968 [details] Revised per Maciej's comments
Mathias Bynens
Comment 13 2017-08-24 00:51:20 PDT
Comment on attachment 318968 [details] Revised per Maciej's comments View in context: https://bugs.webkit.org/attachment.cgi?id=318968&action=review Left some comments with minor nits, but LGTM either way! > PerformanceTests/Speedometer/index.html:73 > + It calls DOM APIs directly in ECMAScript 5, ECMAScript 2015 (also known as ES6), ECMAScript 2015 and elm transpiled into ECMAScript 5. This seems to mention ECMAScript 2015 twice in a row. Maybe rephrase to something like this? It calls DOM APIs directly in ECMAScript 5 and ECMAScript 2015 (also known as ES6). Additionally, it tests transpiled versions of ECMAScript 2015 and elm code. > PerformanceTests/Speedometer/index.html:75 > + React, React with Redux, Ember.js, Backbone.js, two versions of AngularJS, Vue.js, jQuery, Preact, Inferno, and Flight. Minor nit: “AngularJS” refers to v1, so we’re not using “two versions of AngularJS”. The other version is called “Angular”. Maybe just say “Angular 1[.6.5] and Angular 4”? > PerformanceTests/Speedometer/index.html:94 > + Speedometer approximates the runtime of these asynchronous work with a zero-second timer s/these/this/
Ryosuke Niwa
Comment 14 2017-08-24 02:03:46 PDT
(In reply to Mathias Bynens from comment #13) > Comment on attachment 318968 [details] > Revised per Maciej's comments > > View in context: > https://bugs.webkit.org/attachment.cgi?id=318968&action=review > > Left some comments with minor nits, but LGTM either way! > > > PerformanceTests/Speedometer/index.html:73 > > + It calls DOM APIs directly in ECMAScript 5, ECMAScript 2015 (also known as ES6), ECMAScript 2015 and elm transpiled into ECMAScript 5. > > This seems to mention ECMAScript 2015 twice in a row. Maybe rephrase to > something like this? > > It calls DOM APIs directly in ECMAScript 5 and ECMAScript 2015 (also > known as ES6). Additionally, it tests transpiled versions of ECMAScript 2015 > and elm code. Sure. Let's connect ES6/elm part with frameworks. > > PerformanceTests/Speedometer/index.html:75 > > + React, React with Redux, Ember.js, Backbone.js, two versions of AngularJS, Vue.js, jQuery, Preact, Inferno, and Flight. > > Minor nit: “AngularJS” refers to v1, so we’re not using “two versions of > AngularJS”. The other version is called “Angular”. Maybe just say “Angular > 1[.6.5] and Angular 4”? That's a good point. Replaced it with "AngularJS, (new) Angular" since we don't mention the versions of frameworks elsewhere. > > > PerformanceTests/Speedometer/index.html:94 > > + Speedometer approximates the runtime of these asynchronous work with a zero-second timer > > s/these/this/ Fixed.
Ryosuke Niwa
Comment 15 2017-08-24 02:03:53 PDT
Addy Osmani
Comment 16 2017-08-25 18:21:16 PDT
Comment on attachment 318977 [details] Revised As we capitalize the names of other implementations, should we also do this with Elm?
Ryosuke Niwa
Comment 17 2017-08-25 20:02:54 PDT
Oh, I was under the impression that elm is always written in lowercase but it doesn't seem to be the case after all. Will fix that.
Ryosuke Niwa
Comment 18 2017-08-29 13:06:46 PDT
Created attachment 319275 [details] Capitalized elm
Ryosuke Niwa
Comment 19 2017-09-05 22:23:09 PDT
Created attachment 319983 [details] Updated again per Maciej's comments
Ryosuke Niwa
Comment 20 2017-09-05 22:24:35 PDT
Created attachment 319984 [details] Reverted the style change
Ryosuke Niwa
Comment 21 2018-01-09 19:23:19 PST
Created attachment 330871 [details] Removed nbsps
Keith Miller
Comment 22 2018-01-09 20:03:46 PST
Comment on attachment 330871 [details] Removed nbsps View in context: https://bugs.webkit.org/attachment.cgi?id=330871&action=review r=me with a comment. > PerformanceTests/Speedometer/index.html:92 > + Speedometer approximates the run time of this asynchronous work with a zero-second timer > + that is scheduled immediately after each execution of synchronous operations.</p> Perhaps it's worth describing some Pros and Cons to this approach?
Ryosuke Niwa
Comment 23 2018-01-09 20:28:00 PST
(In reply to Keith Miller from comment #22) > Comment on attachment 330871 [details] > Removed nbsps > > View in context: > https://bugs.webkit.org/attachment.cgi?id=330871&action=review > > r=me with a comment. > > > PerformanceTests/Speedometer/index.html:92 > > + Speedometer approximates the run time of this asynchronous work with a zero-second timer > > + that is scheduled immediately after each execution of synchronous operations.</p> > > Perhaps it's worth describing some Pros and Cons to this approach? After some IRC conversions, what we're missing is clarifying that "asynchronous work" here refers to work in the main thread. So I'm rephrasing it as "Speedometer approximates the run time of this asynchronous work in the main thread with a zero-second timer"
Ryosuke Niwa
Comment 24 2018-01-09 20:31:54 PST
We'd go with "the UI thread" since "the main thread" isn't really a thing on the Web.
Ryosuke Niwa
Comment 25 2018-01-09 20:41:30 PST
We're adding one more clause at the very end: Speedometer does not attempt to measure concurrent asynchronous work that does not directly impact the UI thread, which tends not to affect app responsiveness.
Ryosuke Niwa
Comment 26 2018-01-09 20:41:58 PST
Created attachment 330878 [details] Patch for landing
Keith Miller
Comment 27 2018-01-09 20:44:54 PST
Comment on attachment 330878 [details] Patch for landing LGTM. r=me.
Ryosuke Niwa
Comment 28 2018-01-09 20:51:11 PST
Radar WebKit Bug Importer
Comment 29 2018-01-09 20:52:18 PST
Note You need to log in before you can comment on or make changes to this bug.