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
73
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
220
Help! My client is a WebPerf meetup!
onishiweb
0
270
Design Systems and Web Components
onishiweb
1
270
Planes, Trains, and CSS Components London CSS
onishiweb
1
130
Planes, Trains, and CSS Components
onishiweb
6
430
Best viewed with - Velocity Amsterdam 2015
onishiweb
3
3k
Trophy Winning Teams - Web Dev Conf 2015
onishiweb
0
210
Trophy Winning Teams - Drupal Con 2015
onishiweb
0
57
Best viewed with... SOTB5
onishiweb
1
130
Other Decks in Technology
See All in Technology
AIチャットボット開発への生成AI活用
ryomrt
0
170
DynamoDB でスロットリングが発生したとき/when_throttling_occurs_in_dynamodb_short
emiki
0
270
B2B SaaSから見た最近のC#/.NETの進化
sansantech
PRO
0
930
インフラとバックエンドとフロントエンドをくまなく調べて遅いアプリを早くした件
tubone24
1
430
Python(PYNQ)がテーマのAMD主催のFPGAコンテストに参加してきた
iotengineer22
0
540
SDNという名のデータプレーンプログラミングの歴史
ebiken
PRO
2
120
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
3.9k
Security-JAWS【第35回】勉強会クラウドにおけるマルウェアやコンテンツ改ざんへの対策
4su_para
0
190
iOS/Androidで同じUI体験をネ イティブで作成する際に気をつ けたい落とし穴
fumiyasac0921
1
110
誰も全体を知らない ~ ロールの垣根を超えて引き上げる開発生産性 / Boosting Development Productivity Across Roles
kakehashi
2
230
Adopting Jetpack Compose in Your Existing Project - GDG DevFest Bangkok 2024
akexorcist
0
120
AWS Lambda のトラブルシュートをしていて思うこと
kazzpapa3
2
190
Featured
See All Featured
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
Six Lessons from altMBA
skipperchong
27
3.5k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
Designing Experiences People Love
moore
138
23k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
Unsuck your backbone
ammeep
668
57k
Raft: Consensus for Rubyists
vanstee
136
6.6k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
The Invisible Side of Design
smashingmag
298
50k
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!