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
Performance talk @wearearchitect
Search
Adam Onishi
October 10, 2013
Technology
0
80
Performance talk @wearearchitect
Quick performance talk for the Developer Dejeuner at Architect
Adam Onishi
October 10, 2013
Tweet
Share
More Decks by Adam Onishi
See All by Adam Onishi
Help! My client is a WebPerf meetup!
onishiweb
2
230
Help! My client is a WebPerf meetup!
onishiweb
0
350
Design Systems and Web Components
onishiweb
1
290
Planes, Trains, and CSS Components London CSS
onishiweb
1
150
Planes, Trains, and CSS Components
onishiweb
6
480
Best viewed with - Velocity Amsterdam 2015
onishiweb
3
3.2k
Trophy Winning Teams - Web Dev Conf 2015
onishiweb
0
230
Trophy Winning Teams - Drupal Con 2015
onishiweb
0
70
Best viewed with... SOTB5
onishiweb
1
190
Other Decks in Technology
See All in Technology
Databricks AI/BI Genie の「値ディクショナリー」をAmazonの奥地(S3)まで見に行く
kameitomohiro
1
400
データ戦略部門 紹介資料
sansan33
PRO
1
3.8k
知覚とデザイン
rinchoku
1
460
Digitization部 紹介資料
sansan33
PRO
1
5.7k
ソースを読むプロセスの例
sat
PRO
15
9.9k
ソフトウェアエンジニアの生成AI活用と、これから
lycorptech_jp
PRO
0
860
HonoとJSXを使って管理画面をサクッと型安全に作ろう
diggymo
0
170
Behind Postgres 18: The People, the Code, & the Invisible Work | Claire Giordano | PGConfEU 2025
clairegiordano
0
100
Introduction to Bill One Development Engineer
sansan33
PRO
0
300
AI駆動で進める依存ライブラリ更新 ─ Vue プロジェクトの品質向上と開発スピード改善の実践録
sayn0
1
220
[VPoE Global Summit] サービスレベル目標による信頼性への投資最適化
satos
0
230
Biz職でもDifyでできる! 「触らないAIワークフロー」を実現する方法
igarashikana
4
2.9k
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
10
880
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.7k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Leading Effective Engineering Teams in the AI Era
addyosmani
7
580
Writing Fast Ruby
sferik
630
62k
The Straight Up "How To Draw Better" Workshop
denniskardys
238
140k
KATA
mclloyd
PRO
32
15k
Statistics for Hackers
jakevdp
799
220k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
127
54k
Scaling GitHub
holman
463
140k
Fireside Chat
paigeccino
41
3.7k
BBQ
matthewcrist
89
9.8k
Transcript
Performance ...For dummies?
*
Why Performance?
(2012) Speed
3G = 7.2Mb MAx!! Are you mobile?
4G = 8-12Mb Not consistently Are you mobile?
74% of mobile web users will leave a site if
it takes longer than 5 seconds to load. - Brad Frost Are you mobile?
What happened?
The Catalysts!
And this!
testing performance
Google Page Speed
Google Page Speed
Dev tools
Dev tools
Dev tools
Dev tools
Dev tools
Browsers
Render process
Parse Render process
Render process
“document.write()” that nasty bastard! - Patrick Hamann Are you mobile?
layout Render process
Render process
Paint Render process
Render process
https://vimeo.com/69385032 Jake archibald
Performance-y stuff
HTTP Requests CSS & JS Image compression HTTP Compression Browser
Caching Be aware of your assets Performance
Http requests
http requests
Make fewer requests... http requests
MAXIMISE Parallelisation http requests
Keep alive connection http requests
Prefetching <link rel="dns-prefetch" href="//bar.foo.com"> http requests
Resource prefetching http requests
Keep CSS on the same domain http requests
CSS & JS
CSS at the top... JS at the bottom! CSS &
JS
Harry’s rules... (@csswizardry) CSS & JS
The controversial bit... CSS & JS
CSS and the critical path... CSS & JS
Inline your critical CSS CSS & JS
CSS & JS
CSS & JS
Optimise images
ImageOptim & JPEGmini Optimising images
Spriting Optimising images
HTTP Compression
HTML5 Boilerplate compression
Browser caching
The fastest HTTP request is the one not made -
Someone? browser caching
HTML5 Boilerplate browser caching
be aware of your assets
assets
last points...
Tools!!
tools tools
https://developers.google.com/events/io/sessions/325206725 tools
grunt tools
Concatenation Compression Image Optimisation and more... tools
Compass tools
Final points...
Performance should be taken into account from day one! bored
now?
Get developers involved early in the process bored now?
That’s all folks!