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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
chph
January 29, 2016
Technology
130
0
Share
Intro Web Performance Services
chph
January 29, 2016
More Decks by chph
See All by chph
Chrome Dev Tools 基礎技巧
chph
0
98
DevOpsDays Taipei 2017 敏捷思維分享
chph
0
120
在 Google Cloud Platform 架設你的網站伺服器並撰寫 Node.js 應用程式
chph
0
710
Intro to Progressive Web Apps
chph
1
71
淺談 Gzip
chph
0
130
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
160
Other Decks in Technology
See All in Technology
long-running-tasks
cipepser
2
330
【ハノーバーメッセ振り返りイベントat名古屋】データは集約からAI起点の収集に ~組織内・組織間でのデータ連携~
tanakaseiya
0
110
Node.js+TypeScriptにおけるCJS/ESM相互運用の最新ポイント
grainrigi
2
120
Harnessing the Power of Mocks and Stubs in PHPUnit / #laravellivejp
asumikam
0
560
freee-mcpを Local→Remote で出してわかった MCP認可実装のリアル
terara
3
630
データ分析基盤の信頼を支える視点と設計
yuki_saito
1
650
AIコーディングエージェントの活用で、コードは静かに肥大化した
yosukeshinoda
1
360
TypeScriptエンジニアのためのWASMランタイム入門:AssemblyScriptから理解するメモリの実態(ayano)
ayanoyuki
0
140
Typiaで配信JSONの安全性を構造的に担保する(TSKaigi2026)
righttouch
PRO
1
170
Anthropic AIネイティブ・スタートアップ構築のプレイブック を理解する
nagatsu
0
180
TSKaigi 2026 - Auth.jsからBetter Authへの 移行に見る「型とランタイム」の 設計思想の変化
teamlab
PRO
1
260
Amazon Bedrock 経由の Claude Cowork を試してみよう・MCP にも繋いでみよう
sugimomoto
0
170
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.1k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.9k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.5k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
560
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
510
ラッコキーワード サービス紹介資料
rakko
1
3.4M
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
140
A better future with KSS
kneath
240
18k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.3k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
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