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
0
120
Intro Web Performance Services
chph
January 29, 2016
Tweet
Share
More Decks by chph
See All by chph
Chrome Dev Tools 基礎技巧
chph
0
87
DevOpsDays Taipei 2017 敏捷思維分享
chph
0
100
在 Google Cloud Platform 架設你的網站伺服器並撰寫 Node.js 應用程式
chph
0
670
Intro to Progressive Web Apps
chph
1
62
淺談 Gzip
chph
0
120
Install WordPress on Linode
chph
0
160
Introduction Infrastructure - Linode 入門
chph
0
220
高速傳愛~三小時進化 PWA
chph
0
290
Optimize JavaScript execution and parse time using optimize-js
chph
0
150
Other Decks in Technology
See All in Technology
菸酒生在 LINE Taiwan 的後端雙刀流
line_developers_tw
PRO
0
140
Long journey of Continuous Delivery at Mercari
hisaharu
1
210
産業機械をElixirで制御する
kikuyuta
0
170
堅牢な認証基盤の実現 TypeScriptで代数的データ型を活用する
kakehashi
PRO
2
220
IAMのマニアックな話 2025を執筆して、 見えてきたAWSアカウント管理の現在
nrinetcom
PRO
4
550
キャディでのApache Iceberg, Trino採用事例 -Apache Iceberg and Trino Usecase in CADDi--
caddi_eng
0
120
AIエージェントの継続的改善のためオブザーバビリティ
pharma_x_tech
6
1.1k
(非公式) AWS Summit Japan と 海浜幕張 の歩き方 2025年版
coosuke
PRO
1
240
Devin(Deep) Wiki/Searchの活用で変わる開発の世界観/devin-wiki-search-impact
tomoki10
0
310
ObsidianをMCP連携させてみる
ttnyt8701
2
110
Grafana MCP serverでなんかし隊 / Try Grafana MCP server
kohbis
0
340
Nonaka Sensei
kawaguti
PRO
3
680
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.8k
Typedesign – Prime Four
hannesfritz
42
2.7k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Making the Leap to Tech Lead
cromwellryan
134
9.3k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
900
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
650
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.5k
Code Reviewing Like a Champion
maltzj
524
40k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
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