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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
160
Other Decks in Technology
See All in Technology
自律型AIエージェントは何を破壊するのか
kojira
0
150
AI-DLCを活用した高品質・安全なAI駆動開発実践 / AI Driven Development with AI-DLC
yoshidashingo
0
170
Djangoユーザが知っ得なPostgreSQL機能 - 設計の選択肢を増やす / Djang-use-PostgreSQL
soudai
PRO
1
230
Kubernetesにおける学習基盤とLLMOpsの概要
ry
1
230
2026TECHFRESH畢業分享會 - 原生還是跨平台? App 開發踩坑實錄
line_developers_tw
PRO
0
720
小さくはじめるSLI/SLO ~育てながら組織に定着させる実践知~ / Starting Small with SLI/SLOs: Building Adoption Through Continuous Growth
nari_ex
3
1.4k
実装は速くなった、レビューはどうする? ― 自身のレビューをAIで再現させるサーヴァントエンジニアリングのすゝめ / Implementation got faster. So what about reviews? — An invitation to Servant Engineering: Recreating your own code reviews with AI
nrslib
8
4.6k
ルールやカスタム機能、どう活かす?ハンズオンで体感するIBM Bobの出力コントロール
muehara
1
130
2026 TECHFRESH 畢業分享會 - AI-Native 重塑軟體工程與虛擬講師
line_developers_tw
PRO
0
710
小さく始める AI 活用推進 ― 日経電子版 Web チームの事例/nikkei-tech-talk47
nikkei_engineer_recruiting
0
200
Amazon Bedrock AgentCore ワークショップ JAWS UG TOHOKU / amazon-bedrock-agentcore-workshop-jawsug-tohoku-2026
gawa
9
630
日本 Fintech 未来予測レポート 2027〜2028年(オリジナル版)
8maki
0
1.3k
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
The World Runs on Bad Software
bkeepers
PRO
72
12k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Automating Front-end Workflow
addyosmani
1370
210k
Making Projects Easy
brettharned
120
6.7k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.2k
The Cult of Friendly URLs
andyhume
79
6.9k
How to make the Groovebox
asonas
2
2.2k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
140
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
160
Exploring anti-patterns in Rails
aemeredith
3
400
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