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
340
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
470
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
69
Best viewed with... SOTB5
onishiweb
1
180
Other Decks in Technology
See All in Technology
モダンな現場と従来型の組織——そこに生じる "不整合" を解消してこそチームがパフォーマンスを発揮できる / Team-oriented Organization Design 20250825
mtx2s
6
43k
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
8.6k
AIとTDDによるNext.js「隙間ツール」開発の実践
makotot
6
780
シークレット管理だけじゃない!HashiCorp Vault でデータ暗号化をしよう / Beyond Secret Management! Let's Encrypt Data with HashiCorp Vault
nnstt1
2
120
ZOZOTOWNフロントエンドにおけるディレクトリの分割戦略
zozotech
PRO
18
5.9k
Preferred Networks (PFN) とLLM Post-Training チームの紹介 / 第4回 関東Kaggler会 スポンサーセッション
pfn
PRO
1
280
生成AI時代のデータ基盤
shibuiwilliam
0
130
実践アプリケーション設計 ③ドメイン駆動設計
recruitengineers
PRO
13
3.3k
そのコンポーネント、サーバー?クライアント?App Router開発のモヤモヤを可視化する補助輪
makotot
4
760
Goでマークダウンの独自記法を実装する
lag129
0
230
7月のガバクラ利用料が高かったので調べてみた
techniczna
3
750
つくって納得、つかって実感! 大規模言語モデルことはじめ
recruitengineers
PRO
29
10k
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
1.1k
Mobile First: as difficult as doing things right
swwweet
224
9.9k
Six Lessons from altMBA
skipperchong
28
4k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Rails Girls Zürich Keynote
gr2m
95
14k
KATA
mclloyd
32
14k
Practical Orchestrator
shlominoach
190
11k
Documentation Writing (for coders)
carmenintech
73
5k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Statistics for Hackers
jakevdp
799
220k
Navigating Team Friction
lara
189
15k
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!