Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Make Your (React) Website Fast - DevFest 2022
Search
Tony Kimathi
November 05, 2022
Programming
330
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Make Your (React) Website Fast - DevFest 2022
Google DevFest Nairobi 2022
Tony Kimathi
November 05, 2022
Other Decks in Programming
See All in Programming
Apache Hive: そしてCloud Native Lakehouseへ
okumin
1
220
Apache Hive: Toward a Cloud Native Lakehouse
okumin
0
190
Cloudflare is Agents
chimame
0
160
20260722_microCMSで考える、AI時代のコンテンツ運用設計
yosh1
0
390
Jindong: Introducing Declarative Haptics in Compose Multiplatform
l2hyunwoo
0
110
【やさしく解説 設計編・中級 #6】良いアーキテクチャとは ~ 一本の登り道の、行き先 ~
panda728
PRO
0
210
Building a Meta Ray-Ban display app
akkeylab
0
120
仕様駆動開発へのトライを機に チームに適合する手法を模索し続けている話
freee
PRO
0
490
全PRの83%がAIレビューだけでマージできるようになった開発組織はその後どうなったか
athug
1
1.6k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
570
そこに3びきプロダクトがいるじゃろう——生成AI時代における“価値が届かない理由”の構造
kosuket
0
470
AWS DevOps AgentのAzure接続機能を検証して見えた活用法/Use Cases Verified for the AWS DevOps Agent's Azure Connectivity Feature
masakiokuda
1
230
Featured
See All Featured
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
270
Become a Pro
speakerdeck
PRO
31
6.2k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
200
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Facilitating Awesome Meetings
lara
57
7.1k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
690
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
430
Building the Perfect Custom Keyboard
takai
2
840
Ruling the World: When Life Gets Gamed
codingconduct
0
290
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
270
Building Applications with DynamoDB
mza
96
7.2k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
340
Transcript
USIU Tony Kimathi Software Engineer, Microsoft Make Your (React) Website
Fast
Learning Objectives 1. Why is performance important? 2. How to
measure performance 3. Simple & advanced techniques you can use to optimize performance
Icebreaker
Why?
Google: 53% of mobile users abandon sites that take over
3 seconds to load https://www.marketingdive.com/news/google-53-of-mobile-users-abandon -sites-that-take-over-3-seconds-to-load/426070/
Quick Optimization Tips
SVGs
Compression • Up to 70% reduction in size • Less
bandwidth • Gzip/brotli • • https://www.multiutil.com/text-to- gzip-compress/
Deferred Images https://web.dev/browser-level-image-lazy -loading/
Async scripts
Dynamic Imports https://www.robinwieruch.de/rea ct-router-lazy-loading/ https://blog.saeloun.com/2022/03 /24/code-splitting-in-react.html
Lazy Loading https://www.robinwieruch.de/rea ct-router-lazy-loading/ https://blog.saeloun.com/2022/03 /24/code-splitting-in-react.html
Big O: More Performant Code • https://www.freecodecamp.org/news/big-o-notation-why-it-matters- and-why-it-doesnt-1674cfa8a23c/ • https://www.linkedin.com/pulse/big-o-notation-simple-explanation-ex
amples-pamela-lovett • https://www.bigocheatsheet.com/ • Space = O(n) • Time = O(n)
Many, many more…
Measuring Performance
Performance.now()
Benchmarks • https://jsbench.me/ • https://jsben.ch/
Google Lighthouse • https://web.dev/measure/ • https://developer.chrome.com/do cs/devtools/lighthouse/
WebPageTest https://www.webpagetest.org/
Profiling https://developer.chrome.com/docs/ devtools/evaluate-performance/
None
Thank you! :)