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
320
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
ローカルLLMでどこまでコードが書けるか -縮小版 / How much code can be written on a local LLM Shortened
kishida
2
200
【やさしく解説 設計編・中級 #4】ルールの寿命と、システムの年輪
panda728
PRO
2
160
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
330
フィードバックで育てるAI開発
kotaminato
1
120
Terraform標準の組織で AWS CDKをどう使うか
mu7889yoon
1
320
なぜ関数型プログラミングで「型」と「証明」が語られるのか #fp_matsuri
kajitack
3
990
ITヒヤリハットを整理してみた ~ライフサイクルと原因から考える再発防止策~
koukimiura
1
110
琵琶湖の水は止められてもNet--HTTPのリトライは止められない / You might be able to stop the water flow of Lake Biwa but you can't stop Net::HTTP retries
luccafort
PRO
0
420
初めてのKubernetes 本番運用でハマった話
oku053
0
130
吝嗇家のためのAI活用 / AI development for miser - ChatGPT + Issue Driven Development
tooppoo
0
190
Apache Hive: そしてCloud Native Lakehouseへ
okumin
1
150
AI時代の仕事技芸論〜ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ(スクフェス仙台 2026バージョン)
kuranuki
0
680
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
880
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
270
GitHub's CSS Performance
jonrohan
1033
470k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.7k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
230
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
340
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
350
A Modern Web Designer's Workflow
chriscoyier
698
190k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
370
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.4k
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! :)