As we build sites that are more heavily reliant on JavaScript, we sometimes pay for what we send down in ways that we can’t always easily see. In this talk, Addy explains how and why JavaScript is the most expensive resource your site uses today—especially on mobile and lower-end desktops.
Web developers should focus on optimizing JavaScript bundles by keeping them small to improve download speeds, especially on mobile devices. Small JavaScript bundles improve network transfer speeds, lower memory usage, and reduce CPU can be achieved by splitting bundles larger than 50-100 kB. Additionally, it’s crucial to enhance execution time by avoiding tasks that overly engage the main thread and by not using large inline scripts over 1 kB. Avoid creating Long Tasks that can keep the main UI thread busy and can push out how soon pages are interactive by users. These steps are vital as parse and compile costs have become faster than before.
He will also share tips for fixing JavaScript performance issues so everything loads quicker. A little discipline can help if you want your site to load and be interactive as soon as possible on mobile.
A few things that will be covered:
- What the dominant costs of heavy JavaScript are
- How median hardware plus heavy JavaScript can impact user-experience
- Tips and tricks for reducing the cost of JavaScript, reducing long-tasks and improving the Core Web Vitals metrics
- Things frameworks and browsers are doing to try reducing the cost of JavaScript by default.
- How new performance metrics can help you reason about where to optimize JavaScript to improve user interactions
Target Audience: Intermediate web developers
Originally presented at Web Unleashed
#javascript #webdevelopers #programming #webperformance
17 views
185
31
3 weeks ago 00:03:49 1
Battling a Dead Battery? TOPDON BT100 is Your Ultimate Weapon! - YouTube
4 weeks ago 00:22:01 1
Recreating the Last Meal of Ötzi the Iceman
1 month ago 00:04:22 3
Stressed, Tired, and No Time for the Spa? Your Ultimate Home Sauna Solution Awaits! - YouTube
1 month ago 00:08:01 1
RTX 4060 vs RTX 4060 TI vs RTX 4070 vs RTX 4070 SUPER - Test in 25 Games
1 month ago 00:34:40 1
I Got A Legal Threat From A Sitting President… | Candace Ep 130
1 month ago 00:04:01 1
Currents - So Alone
1 month ago 00:11:34 1
💰$167,800 First-Week Payment Proof | Done For You 10X ROI Campaigns | Pay Per Call & CPA Marketing
1 month ago 00:03:24 1
Falling In Reverse - “Watch The World Burn“
1 month ago 00:22:23 1
Structures Burn as Palisades Fire Explodes to 1,200+ Acres
1 month ago 00:07:17 1
Maserati Driver Shot After Police Pursuit and Gun Battle With LAPD Officers
1 month ago 00:02:42 49
Royal Family Set to Receive a Significant Pay Increase This Year
1 month ago 00:10:44 1
How to Form an LLC in Michigan (Step by Step Guide) | Michigan LLC 2024 Setup
1 month ago 00:12:11 1
How to Form an LLC in California (Step by Step Guide) | California LLC 2024 Setup
1 month ago 00:10:37 1
How to Form an LLC in Washington (Step by Step Guide) | Washington LLC 2024 Setup
1 month ago 00:10:38 1
How to Form an LLC in Maryland (Step by Step Guide) | Maryland LLC 2024 Setup
1 month ago 00:12:05 1
ZenBusiness Review 2025: What Makes It Stand Out?
1 month ago 00:04:51 1
PUPrime vs IC Markets : Battle of the Best Forex Brokers for 2025!
1 month ago 00:17:58 25
CHRISTMAS AT NEWSTEAD ABBEY - Home Of Romantic Poet, Lord Byron
1 month ago 00:19:31 1
Winter Survival Shelter - Sleeping Outside in -25° Weather
1 month ago 00:16:14 2
This Fusion Tech is Solving the Geothermal Energy Problem
1 month ago 00:10:52 1
Superhero-Bowl | Toon Sandwich Reaction
1 month ago 03:07:08 1
Hawaiian Reggae 2025 -Hawaii Home (Unique Cover)
1 month ago 00:12:09 1
Lumine, Dehya, Mualani and Collei team up to capture Aether - Elemental Warfare: Reunion [HoYoFair]