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
Intro Web Performance Services
Search
chph
January 29, 2016
Technology
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Intro Web Performance Services
chph
January 29, 2016
More Decks by chph
See All by chph
Chrome Dev Tools 基礎技巧
chph
0
100
DevOpsDays Taipei 2017 敏捷思維分享
chph
0
120
在 Google Cloud Platform 架設你的網站伺服器並撰寫 Node.js 應用程式
chph
0
720
Intro to Progressive Web Apps
chph
1
76
淺談 Gzip
chph
0
140
Install WordPress on Linode
chph
0
170
Introduction Infrastructure - Linode 入門
chph
0
230
高速傳愛~三小時進化 PWA
chph
0
300
Optimize JavaScript execution and parse time using optimize-js
chph
0
170
Other Decks in Technology
See All in Technology
攻撃者がいなくてもAIエージェントはインシデントを起こす
nomizone
0
200
インフラ寄りSREでも 開発に踏み出せる〜境界を越えてユーザー体験に向き合いたい〜
sansantech
PRO
0
560
Foxgloveについて 実際にExtensionを開発して公開するまでの話 / About Foxglove: The Story of Developing and Releasing an Extension
ry0_ka
0
130
Kotlin 開発のツラミを爆破した話! / Explode the difficulty of Kotlin dev!
eller86
0
150
AWS Summit の片隅で、体育座りしながらコミュニティがにぎわう理由を考えた
k_adachi_01
2
350
Docker Desktop不要の時代が来る? WSL標準の「wslc」で Linuxコンテナを動かしてみた.
ueponx
0
700
“ID沼入口” - 基本とセキュリティから始める、考え続けるためのID管理技術勉強会 告知&イントロ
ritou
0
400
証券システムを10年Scalaで作り続けるということ - 関数型まつり2026
krrrr38
2
430
Baseline対応のDOMの型定義を作った
uhyo
3
690
Amazon EVS で VCF 9.0 / 9.1 のサポート開始まとめ
mtoyoda
0
230
Keeping applications secure by evolving OAuth 2.0 and OpenID Connect
ahus1
PRO
1
140
AI Agent SaaS を支える自社仮想化基盤への挑戦と実運用 / ai-agent-saas-virtualization
flatt_security
2
1.2k
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.6k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
WCS-LA-2024
lcolladotor
0
670
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
460
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Designing for Timeless Needs
cassininazir
1
270
[SF Ruby Conf 2025] Rails X
palkan
2
1.1k
The Curious Case for Waylosing
cassininazir
1
420
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
340
Transcript
Afu Tseng (曾坤福) PIXNET 技術研發部前端組 Intro Web Performance Services 未命名會議室
No.1∘2016.01.29
Outline • webpagetest.org • perfwars.com • Yellow Lab.tools • Big
Rig
webpagetest.org ⽼牌的網⾴效能測試服務
webpagetest.org • 2008 年 1 ⽉成⽴ • 作者 Patrick Meenan
在 2010年加⼊ Chrome 團隊 • 提供全球多處地區測試 • 可以錄製 Dev Tools Timeline • 可以模擬特定網域單點故障情形 (SPOF Testing) • 可以錄製影格分鏡 (Filmstrip View) • 歐萊禮有出書 「Using WebPageTest」
webpagetest.org
測試前置作業 - 進階設定 Ө֨ڸ
測試結果瀑布圖 Ө֨ڸ
影格分鏡 (Filmstrip View)
深⼊閱讀... ! ! ! ! ! ! ! ! 1BUSJDL.FFOBO!0`SFJMMZ7FMPDJUZDPOG
IUUQXXXTMJEFTIBSFOFUQBUSJDLNFFOBOXFCQBHFUFTUQPXFSVTFSTWFMPDJUZ
perfwars.com 效能擂台賽
perfwars.com • 可快速的概覽常⾒的調校項⺫ • 沒有設定瀏覽器快取 • 沒有做 GZIP 傳輸壓縮 •
CSS / JS 沒有做最⼩化 • 圖⽚未最佳化 • HTTP/2 偵測
perfwars.com
perfwars.com
perfwars.com
perfwars.com
perfwars.com
Yellow Lab Tools
Yellow Lab Tools • https://github.com/gmetais/YellowLabTools/ • 有開源,可以⾃⾏架設 (Node.js) • 線上版本:http://yellowlab.tools
• 分數⽐ Page Speed Insights 還嚴格 XD
實測⼿機版⽂章內⾴ dT NT
Score details dT NT
Score details dT NT
重複 DOM 查詢過多 dT NT
JavaScript Timeline / Profiler dT NT
Big Rig Chrome trace 分析⼯具 ! GoogleChrome/big-rig 1BVM-FXJT ෆੋ(PPHMFํሢҊ
由於 dashboard web app 安裝較為繁瑣 所以只介紹 CLI 版本 …
Node Big Rig • https://github.com/GoogleChrome/node- big-rig • $ sudo npm
install -g bigrig • bigrig --file /path/to/trace.json --pretty-print
trace 從何取得? (1) • Chrome DevTools 的 Timeline 錄製
把 Chrome trace 餵給 bigrig • $ bigrig --file ~/Desktop/TimelineRawData-admin-blog-
mobile-post-2-20160129T005241 --pretty-print
EPN$POUFOU-PBEFEෆ४ CVH (PPHMF"E4FOTFੋᏈೳࡴख೭Ұ շಘGPSDF3FDBMD -BZPVU࣍Ꮠ (5.ෆᬀଟᩋ
trace 從何取得? (2) WebPageTest.org
從測試結果 Waterfall 旁下載 Timeline
૬ಉᅿࡏඒᅳეଌࢼᏓຫڐଟ BKBYHPPHMFBQJTDPN؇ຫࢸdT "E4FOTFߋຫྃ
總結 • 效能調校的⼯具服務眾多,各有千秋,多嘗試 搭配運⽤讓網站效能不再持續衰退!
References • Perf.Rocks - Tools, http://perf.rocks/tools/ • http://www.webpagetest.org/ • http://perfwars.com
• https://github.com/GoogleChrome/node-big-rig • http://yellowlab.tools/ • Using WebPageTest, O’reilly, http://shop.oreilly.com/product/0636920033592.do
Q & A @afutseng