❌

Vue normale

⚡ 153: Analysing JavaScript performance in Chrome DevTools

12 juin 2024 à 16:27
͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
 
Performance Newsletter
[issue 153 ]()
 
#### Editor’s note
 
There’s been a steady supply of articles describing the failures of the modern web in anything but very favourable conditions, but trying to effectively use the internet on the South Pole wasn’t on my bingo card. While that’s a more extreme case study, to, let’s say, riding a rural bus to work, it still highlights the same issues.
 
We’re not only lacking in performance optimisations, assuming everyone has the bandwidth for ginormous downloads, but also don’t cater to failure scenarios that don’t apply to us. Surely, we can do better?
 
Karolina
 
 
 
 
#### What’s Performance newsletter?
 

Performance Newsletter is a fortnightly mailing by [Calibre](https://calibreapp.com), featuring web performance tools, talks and resources.

Don’t worry—we don’t spam. If you’d like to leave, [unsubscribe]() at any time. Suggest content [here. ](mailto:hi@perf.email)

 
 
 
# Articles  
 
Performance trace recording in Developer tools showing dropped frames
 
### [Comprehensive guide to JavaScript performance analysis using Chrome DevTools](https://blog.jiayihu.net/comprenhensive-guide-chrome-performance/)
 
[Jiayi Hu](https://blog.jiayihu.net/)
Learn how to debug and improve performance in Chrome DevTools with this in-depth analysis carried out on a real-world canvas library. The result was a whooping reduction of task duration from  ~20ms to 77ms.
 
Expensive style recalculation affecting almost every element on the page.
 
### [How deep is your DOM?](https://frontendatscale.com/blog/how-deep-is-your-dom/)
 
[Maxi Ferreira](https://frontendatscale.com/)
Do you know the Avoid excessive DOM size Lighthouse audit? While modern browsers are extremely capable rendering sites and apps, there becomes a point when style recalculations caused by DOM depth negatively affect performance.
 
The macOS updater. No pause button! Was I expected to leave my laptop on, connected to the Internet,                   and untouched, for 15 days??
 
### [Engineering for slow Internet](https://brr.fyi/posts/engineering-for-slow-internet)
 
[Brr](https://brr.fyi/)
I didn’t know I wanted to read a performance case study of using the web from Antarctica until I read one. An excellent article pinpoint the importance of designing and building for resilience.
 
Chart for opening the hotel overlay optimisations
 
### [Optimizing INP for a React App & performance learnings](https://www.iamtk.co/optimizing-inp-for-a-react-app-and-performance-learnings)
 
[TK Kinoshita](https://www.iamtk.co/)
Another in-depth study of analysing and bettering Interaction to Next Paint, this time with 69% improvement results, specifically focusing on React-related strategies.
 
 
 
# Case Studies  
 
Downward trend for page render times by TV OS (Samsung-Tizen and WebOS-LG).
 
### [How Disney+ Hotstar increased weekly card views by 100% on living room devices by reducing INP by 61%](https://web.dev/case-studies/hotstar-inp?hl=en)
 

[Bhuvaneswaran Mohan](https://www.linkedin.com/in/bhuvaneswaran-mohan/) & [Saurabh Rajpal](https://www.linkedin.com/in/imsaurabhrajpal/)

Find out how Disney+ Hotstar achieved a 61% improvement by bringing INP values down to 272 milliseconds** **on their tvOS application.
 
 
 
# Browsers  
 
### [An even faster Microsoft Edge](https://blogs.windows.com/msedgedev/2024/05/28/an-even-faster-microsoft-edge/)
 
The Microsoft Edge Team has been hard at work making the browser UI faster—it’s now **42% faster** for Edge users and a whopping **76% faster** for those of you on a device without an SSD or with less than 8 GB of RAM. Well done!
 
 
Calibre
 
This email is brought to you by the team at [Calibre](https://calibreapp.com). We automate web performance testing, reporting and alerting, so you don’t have to.
 
 

Performance Newsletter is sent from the traditional lands of the Wurundjeri people of the Kulin nation. We acknowledge that sovereignty was never ceded and pay respects to the Elders past and present.

Send your suggestions, links and feedback to [hi@perf.email](mailto:hi@perf.email).

[View or share this email →]()
[Quickly unsubscribe →]()
[Browse older issues →]()

**Sent by**
Calibre Analytics

V119 / 425 Smith Street
Ngár-go
Fitzroy VIC 3065
Australia

 

⚡ 149: Don’t get scammed on web performance

9 avril 2024 à 17:31
͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
 
Performance Newsletter
[issue ]()149
 
#### Editor’s note
 
There’s a cautionary tale in this issue, warning of easy web performance wins through third party plugins and tools promising vast improvements with very little work. We know that very few things in life come for free, and this is true for web performance. But in a field so heavily relying on metrics, charts and data, how could they be lying?
 
As much as we use data to back up theories, demonstrate proof of concept, numbers only tell a partial story. Lived experience > data points.
 
Karolina
 
 
 
 
#### What’s Performance newsletter?
 

Performance Newsletter is a fortnightly mailing by [Calibre](https://calibreapp.com), featuring web performance tools, talks and resources.

Don’t worry—we don’t spam. If you’d like to leave, [unsubscribe]() at any time. Suggest content [here. ](mailto:hi@perf.email)

 
 
 
# Articles  
 
Example test where the PSI score is almost twice as high as the Lighthouse score for the same page. We blurred the screenshots for privacy reasons, but the content looks totally different as well.
 
### [Don’t get scammed by fake performance experts and apps](https://performance.shopify.com/blogs/blog/don-t-get-scammed-by-fake-performance-experts-and-apps)
 
[Mateusz Krzeszowiak](https://www.linkedin.com/in/mateusz-krzeszowiak/)
Thought you were getting a performance quick fix? Learn how the team at Shopify exposed hacks to fake a higher Lighthouse scores, which had zero positive effect on user experience.
 
 
 
# Tools  
 
A higher ELO score indicates a better aggregate performance in the rater study. We can observe that jpegli at 2.8 BPP received a higher ELO rating than libjpeg-turbo at 3.7 BPP, a bitrate 32 % higher than Jpegli's.
 
### [Introducing Jpegli: a new JPEG coding library](https://opensource.googleblog.com/2024/04/introducing-jpegli-new-jpeg-coding-library.html)
 
[Zoltan Szabadka](https://www.linkedin.com/in/zolt%C3%A1n-szabadka-0043845/), [Martin Bruse](https://www.linkedin.com/in/oortcloud/?originalSubdomain=se) and [Jyrki Alakuijala](https://www.linkedin.com/in/jyrkialakuijala/)
Learn more about a new Google Open Source project, Jpegli, is a JPEG coding library claiming a high backward compatibility while offering enhanced capabilities and a 35% compression ratio improvement.
 
Performance Panel in Chrome Dev Tools showing the bottom-up view
 
### [Goodbye JS Profiler, profiling CPU with the Performance panel](https://developer.chrome.com/blog/profiling-cpu)
 

[Jecelyn Yeen](https://jec.fish/) & [Nancy Li](https://www.linkedin.com/in/yangxinyu-li/)

The JavaScript Profiler panel is going away in Chrome 124. Find out how to use the Performance panel to profile Node.js CPU performance in the future versions.
 
### [web-vitals.js 4.0](https://github.com/GoogleChrome/web-vitals/blob/v4/CHANGELOG.md)
 
If you are using the web vitals library, there are a few significant and breaking changes in the recent releases, including depreciating onFID, and adding INP breakdown.
 
 
 
# Courses, Talks & Podcasts  
 
Promotional image for the podcast featuring Google logo, search box with 'Search Off the Record' text and epispde title
 
### [Deciphering INP and Core Web Vitals](https://www.youtube.com/watch?v=QdcKuo-N3kU&ab_channel=GoogleSearchCentral)
 

[John Mueller](https://johnmu.com/), [L](http://)[izzi Sassman](https://www.linkedin.com/in/okaylizzi/) & [Rick Viscomi](https://rviscomi.dev/)

Tune in to find out why Core Web Vitals are an accessibility issue and how to use them to find out if your site is preventing the user from completing their journey.

 
 
Calibre
 
This email is brought to you by the team at [Calibre](https://calibreapp.com). We automate web performance testing, reporting and alerting, so you don’t have to.
 
 

Performance Newsletter is sent from the traditional lands of the Wurundjeri people of the Kulin nation. We acknowledge that sovereignty was never ceded and pay respects to the Elders past and present.

Send your suggestions, links and feedback to [hi@perf.email](mailto:hi@perf.email).

[View or share this email →]()
[Quickly unsubscribe →]()
[Browse older issues →]()

**Sent by**
Calibre Analytics

V119 / 425 Smith Street
Ngár-go
Fitzroy VIC 3065
Australia

 
❌