Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
如何解读页面性能
Search
Max
February 05, 2013
Programming
140
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
如何解读页面性能
如何解读页面性能
Max
February 05, 2013
More Decks by Max
See All by Max
分层语义化模板实现
maxlee
0
190
让前端开发更高效
maxlee
1
210
如何发现前端性能问题
maxlee
4
220
七年很痒
maxlee
1
160
跟乐高学模块设计
maxlee
2
170
从YUI2到YUI3看前端的演变
maxlee
0
140
Qzone-前端-CPU-性能优化
maxlee
0
220
更好的文件组织
maxlee
0
110
Mobile App Action design
maxlee
1
110
Other Decks in Programming
See All in Programming
ChromeでローカルLLM
ryu1013
0
130
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
35
16k
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
130
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.6k
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
sbt 2.0: takeoff
eed3si9n
0
150
contenteditable と日本語入力に向き合う
colorful12
0
200
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
mrbgem 三角測量 開発
ogom
0
240
Androidだけじゃない、DroidKaigiで広がった私の技術スタック
akkeylab
0
130
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
270
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
1
400
Featured
See All Featured
We Are The Robots
honzajavorek
0
400
Chasing Engaging Ingredients in Design
codingconduct
0
360
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
450
What's in a price? How to price your products and services
michaelherold
247
13k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
740
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.2k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
540
Six Lessons from altMBA
skipperchong
29
4.5k
BBQ
matthewcrist
90
10k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.9k
The Curious Case for Waylosing
cassininazir
1
570
Discover your Explorer Soul
emna__ayadi
2
1.3k
Transcript
如何解读页面性能 heavenhuang
• 如何找到关键数据? • 多快才算快? • 想要更快要如何做? • 怎么收集优化成果?
问题总在前端
None
YSlow:buy.qq.com
如何找到关键数据? 工具:Firefox、 Chrome、测速系统…… 关键点: • 首屏展开时间 ◦ 首屏体积 • 主功能可交互时间
◦ JS加载时间 ◦ JS执行时间 • 页面完成时间
如何找到关键数据? 间接数据 • 页面模块点击 • 运营重点模块 • 成交转化 • 用户访问频率
多快才算快? 页面体积 / 网速 = 基本访问时间 实际访问>基本访问时间 = 慢
多快才算快? JS加载时间 + 执行时间 = 主功能可交互时间 主功能可交互时间 > 主功能展示时间 +
1秒 = 慢
想要更快如何做? • 让访问速度更快 ◦ 合理cache配置 ◦ 文件GZIP ◦ 图片压缩 ◦
按需加载 img、js
想要更快如何做? • 让用户觉得快 ◦ 消除阻塞 ◦ 以内容优先度展示 ◦ 收敛域名数量 ◦
ajax解耦 ◦ 交互解耦
想要更快如何做? • 让整个产品都快起来 ◦ 跨页面cache ◦ preLoad ◦ js模块复用 ◦
交互优化
• 浏览器preLoad ◦ IE8+ Lookahead Downloader ◦ Firefox7+ prefetch(HTML5属性) ◦
Chrome14+ prerender(HTML5属性) 参考资料:https://developer.mozilla.org/en/link_prefetching_faq 新技术 <a href="xxx.xxx.xxx.js" rel = "prefetch">
新技术 • SPDY ◦ SPDY 是 Google 开发的基于传输控制协议 (TCP) 的应用层协议
,开 发组正在推动 SPDY 成为正式标准(现为互联网草案)。SPDY 协议旨 在通过压缩、多路复用和优先级来缩短网页的加载时间和提高安全性。 (SPDY 是 Speedy 的昵音,意思是更快) 参考资料:http://www.geekpark.net/read/view/158198
怎么收集优化成果? • 关键数据对比 ◦ CDN访问数据 ◦ TWS访问压力 ◦ 客户端测速 •
间接影响 ◦ 页面点击转化 ◦ 成交转化 ◦ 老用户回头率
None
None
Q & A