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
89
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Performance talk @wearearchitect
Quick performance talk for the Developer Dejeuner at Architect
Adam Onishi
October 10, 2013
More Decks by Adam Onishi
See All by Adam Onishi
Help! My client is a WebPerf meetup!
onishiweb
2
250
Help! My client is a WebPerf meetup!
onishiweb
0
420
Design Systems and Web Components
onishiweb
1
320
Planes, Trains, and CSS Components London CSS
onishiweb
1
200
Planes, Trains, and CSS Components
onishiweb
6
560
Best viewed with - Velocity Amsterdam 2015
onishiweb
3
3.5k
Trophy Winning Teams - Web Dev Conf 2015
onishiweb
0
270
Trophy Winning Teams - Drupal Con 2015
onishiweb
0
100
Best viewed with... SOTB5
onishiweb
1
240
Other Decks in Technology
See All in Technology
20分でわかるセキュアAPI
nwiizo
2
320
AI時代のアウトプット――変わったこと、変わらないこと / Devsumi 2026 Kansai #devsumi
jnchito
0
500
同じWAFが、攻撃の“形”は弾く── 正当な“形”の不正は通す
kuroneko13
0
270
Software Supply Chain Attackからクラウド環境を守るためにできること
lhazy
2
290
コーチングの奥義 何もしないテクニック
jinwatanabe
0
140
AIにブラウザを触らせて、E2EテストをPlaywrightで書く
koji_kawamura
0
340
長期運営で肥大化したExcelマスターデータの解消に向けた移行事例
gree_tech
PRO
0
100
アクセスキーが漏れた日にやるべきこと- 無効化の先にある本当の対応
kazzpapa3
0
190
小粒でもパワフルなJS Runtime Antjsについて
comamoca
0
120
Flutter × BLE Centralを自前Pluginで実装する設計パターン - MethodChannel / EventChannelで作る双方向ブリッジの実践 / Building Custom Flutter BLE Central Plugins: Bidirectional Bridging with Method & Event Channels
bitkey
PRO
0
220
なぜ Temporal の大小比較には compare しかないのか / Why Does Temporal Only Have compare() for Comparisons
kazukihayase
1
200
LanceDB入門
mocobeta
9
670
Featured
See All Featured
Optimizing for Happiness
mojombo
378
71k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.6k
エンジニアに許された特別な時間の終わり
watany
108
250k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
Deep Space Network (abreviated)
tonyrice
0
270
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
260
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
Typedesign – Prime Four
hannesfritz
42
3.1k
The Invisible Side of Design
smashingmag
301
52k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
Testing 201, or: Great Expectations
jmmastey
46
8.2k
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!