Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

☂️ 👣 Things to fix on next breaking change #4333

Closed
23 of 34 tasks
patrickhulce opened this issue Jan 23, 2018 · 5 comments
Closed
23 of 34 tasks

☂️ 👣 Things to fix on next breaking change #4333

patrickhulce opened this issue Jan 23, 2018 · 5 comments

Comments

@patrickhulce
Copy link
Collaborator

patrickhulce commented Jan 23, 2018

Non-Comprehensive List of Things We Should Fix on Next Breaking Change .

Update: everything open below is now represented in #5008

Audit Rejiggers

  • Remove cache-start-url audit (unused)
  • rename "uses-request-compression" to "uses-text-compression" :)
  • combine render blocking scripts/stylesheets audits to just "render-blocking resources"
  • change EIL to use rolling window
  • onLoad -> load
  • speed-index-metric -> speed-index
  • use speedIndex instead of perceptualSpeedIndex
  • move computedArtifacts off of the artifacts object (onto auditContext?)

LHR formalization

Config

  • fix allowed config representations (config v2 😃 , i.e. no more audits: ['path/my-audit'] -> audits: { 'my-audit': {path: 'path/to/audit'}})
  • rename perf-hint, perf-info
  • delete configjson.artifacts, use settings.auditMode instead to load artifacts from disk (should be just a type update)

Also

  • Use LHError for all thrown errors when possible (connections/cri.js for example)
  • replace --perf with a real mechanism for using full/perf/mixed-content configs
  • drop support for node <8
  • support output: 'html'/'csv' from node module
  • node module return is {lhr, artifacts}

CLI

  • no more --disable-network-throttling --disable-cpu-throttling, use --throttling-method=provided or --throttling.cpuSlodownMultiplier=1 or --throttling.requestLatencyMs=0

Maybe

  • change device from Nexus 5X to Pixel?
@wardpeet
Copy link
Collaborator

Should we upgrade to node 8 as well?

@ebidel
Copy link
Contributor

ebidel commented Feb 20, 2018

How about #1999

@patrickhulce
Copy link
Collaborator Author

@ebidel yup for sure, both these target #1999

  • "Kill off" extendedInfo and make details real and good.
  • de-dupe all audit results

paulirish added a commit that referenced this issue Mar 2, 2018
…w summary

* completely new shape of `details`:
  * `result.details.headings` describes the expected report columns
  * `result.details.items` contains row information, and may include _more_ data than referenced by the headings. it's the new `extendedInfo`. :)
* new `result.details.summary` obj that includes whatever toplevel numeric summary we have. So far just `wastedMs` and `wastedKb`
* `reportCategories` not contain real auditResults (aka _de-dupe all audit results_ from #4333)
  * `reportCategories.performance` keeps it's `score` prop
  * each audit's score moves from `reportCategories.performance['audit-name']` (which now just holds `weight` and `group`) over to `audits['audit-name']`
* removes `LHR.score`, the overallScore
paulirish added a commit that referenced this issue Mar 2, 2018
…w summary

* completely new shape of `details`:
  * `result.details.headings` describes the expected report columns
  * `result.details.items` contains row information, and may include _more_ data than referenced by the headings. it's the new `extendedInfo`. :)
* new `result.details.summary` obj that includes whatever toplevel numeric summary we have. So far just `wastedMs` and `wastedKb`
* `reportCategories` not contain real auditResults (aka _de-dupe all audit results_ from #4333)
  * `reportCategories.performance` keeps it's `score` prop
  * each audit's score moves from `reportCategories.performance['audit-name']` (which now just holds `weight` and `group`) over to `audits['audit-name']`
* removes `LHR.score`, the overallScore
paulirish added a commit that referenced this issue Mar 3, 2018
…w summary

* completely new shape of `details`:
  * `result.details.headings` describes the expected report columns
  * `result.details.items` contains row information, and may include _more_ data than referenced by the headings. it's the new `extendedInfo`. :)
* new `result.details.summary` obj that includes whatever toplevel numeric summary we have. So far just `wastedMs` and `wastedKb`
* `reportCategories` not contain real auditResults (aka _de-dupe all audit results_ from #4333)
  * `reportCategories.performance` keeps it's `score` prop
  * each audit's score moves from `reportCategories.performance['audit-name']` (which now just holds `weight` and `group`) over to `audits['audit-name']`
* removes `LHR.score`, the overallScore
paulirish added a commit that referenced this issue Mar 3, 2018
…w summary

* completely new shape of `details`:
  * `result.details.headings` describes the expected report columns
  * `result.details.items` contains row information, and may include _more_ data than referenced by the headings. it's the new `extendedInfo`. :)
* new `result.details.summary` obj that includes whatever toplevel numeric summary we have. So far just `wastedMs` and `wastedKb`
* `reportCategories` not contain real auditResults (aka _de-dupe all audit results_ from #4333)
  * `reportCategories.performance` keeps it's `score` prop
  * each audit's score moves from `reportCategories.performance['audit-name']` (which now just holds `weight` and `group`) over to `audits['audit-name']`
* removes `LHR.score`, the overallScore
paulirish added a commit that referenced this issue Mar 3, 2018
…w summary

* completely new shape of `details`:
  * `result.details.headings` describes the expected report columns
  * `result.details.items` contains row information, and may include _more_ data than referenced by the headings. it's the new `extendedInfo`. :)
* new `result.details.summary` obj that includes whatever toplevel numeric summary we have. So far just `wastedMs` and `wastedKb`
* `reportCategories` not contain real auditResults (aka _de-dupe all audit results_ from #4333)
  * `reportCategories.performance` keeps it's `score` prop
  * each audit's score moves from `reportCategories.performance['audit-name']` (which now just holds `weight` and `group`) over to `audits['audit-name']`
* removes `LHR.score`, the overallScore
@paulirish paulirish added this to the Sprint Once: March 12 - 23 milestone Mar 12, 2018
@brendankenny
Copy link
Member

we should remove chrome-launcher/. Kept only to preserve various places we suggested calling deep into our directory structure

@paulirish
Copy link
Member

#5008 has to be dealt with but this is a duplicate now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants