question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Report savings on all opportunities combined

See original GitHub issue

TL;DR: I want to know your opinion about prediction model for Performance Score related to image optimization

I wanted to figure out the exact impact of image optimizations on Performance Score before implementing them.

I took the world’s top 500 websites (from Alexa) and ran performance analyses with Lighthouse and PageDetox (a diagnostic tool made by Uploadcare, a company I work at).

PageDetox fetched website images, optimized them, and calculated the differences in image weights and page-loading times (I used the same throttle settings as Lighthouse, and decreased derived load times by saved_bytes / speed).

From there, I tried to model the improvement in Performance Score by proportionally decreasing the weighted params used in the score calculations: FCP, FMP, SI, CPU, and TTI.

I understand that I have the two weak links in this model:

  1. Load time improvement might easily fall to zero if JS rendering takes ages while even the largest images have already been loaded;
  2. Linearly decreasing the Performance Score parameters may not be an exact fit.

But I think that (on average) the data I got is legit. Here is a raw data — https://docs.google.com/spreadsheets/d/1K1qUIPCm2ZOxwCW52Zu5oLo5p9r8xydEh5h97HF3eyU/edit?usp=sharing

What are your thoughts about this prediction model? Where do you see the room for improvement?

My final goal is to get proof to convince people (by estimating the value they get prior to investing any resources in the optimization) that image optimization is essential and affects business metrics.

p.s. If you are interested, I published an article about this model — https://blog.uploadcare.com/image-optimization-and-performance-score-23516ebdd31d. Though I’ve mentioned above everything related to the model.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
paulirishcommented, Aug 23, 2022

We’re not planning to calculate this number.

0reactions
rsedykhcommented, May 14, 2019

@patrickhulce so basically in the future Lighthouse report might say you exactly how much you can save by implementing opportunities? Nice! Until then, people can use pagedetox.com. 😃

(Right now I’m considering adding Lighthouse report to the mix so users can see savings + increase of Performance Score, but it will be more user-friendly for users to actually see it within Lighthouse).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Filling Out the FAFSA | 2021-2022 Federal Student Aid ...
If the student, spouse, or parents were not required to file a tax return, the student should still report any income earned from...
Read more >
2022 Instructions for Schedule B (2022) - IRS
Report on line 1 all of your taxable interest. ... Include interest from series EE, H, HH, and I U.S. savings bonds. Also...
Read more >
Tax information for EE and I bonds - TreasuryDirect
For example, you may find it advantageous to report interest every year on savings bonds in a child's name. The child may be...
Read more >
Opportunity LA Provides Savings Accounts to Children
Opportunity LA is a free savings account with an initial $50 deposit for Los Angeles Unified School District (LAUSD) students.
Read more >
Exhibit 5-2: Assets - HUD
Cash held in savings and checking accounts, safe deposit boxes, homes, etc. For savings accounts ... Include the cash value of any revocable...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found