Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
0
280
Make Your (React) Website Fast - DevFest 2022
Google DevFest Nairobi 2022
Tony Kimathi
November 05, 2022
Tweet
Share
Other Decks in Programming
See All in Programming
バックエンドエンジニアによる Amebaブログ K8s 基盤への CronJobの導入・運用経験
sunabig
0
140
Microservices rules: What good looks like
cer
PRO
0
1.2k
UIデザインに役立つ 2025年の最新CSS / The Latest CSS for UI Design 2025
clockmaker
18
7.3k
複数人でのCLI/Infrastructure as Codeの暮らしを良くする
shmokmt
5
2.2k
ZOZOにおけるAI活用の現在 ~モバイルアプリ開発でのAI活用状況と事例~
zozotech
PRO
8
5.5k
開発に寄りそう自動テストの実現
goyoki
1
770
テストやOSS開発に役立つSetup PHP Action
matsuo_atsushi
0
150
LLMで複雑な検索条件アセットから脱却する!! 生成的検索インタフェースの設計論
po3rin
2
650
ゲームの物理 剛体編
fadis
0
320
関数実行の裏側では何が起きているのか?
minop1205
1
680
これだけで丸わかり!LangChain v1.0 アップデートまとめ
os1ma
6
1.8k
AIコーディングエージェント(Manus)
kondai24
0
160
Featured
See All Featured
Designing for humans not robots
tammielis
254
26k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.3k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.8k
Writing Fast Ruby
sferik
630
62k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Optimizing for Happiness
mojombo
379
70k
The Language of Interfaces
destraynor
162
25k
Java REST API Framework Comparison - PWX 2021
mraible
34
9k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.1k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
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! :)