Skip to Main Content
Web 效能優化日誌 Volume 2
book

Web 效能優化日誌 Volume 2

by Stoyan Stefanov
July 2013
Intermediate to advanced content levelIntermediate to advanced
240 pages
4h 11m
Chinese
GoTop Information, Inc.
Content preview from Web 效能優化日誌 Volume 2
我想利用今年的這個機會來介紹一下 WebPagetesthttp://www.webpagetest.org/)如何從瀏
覽器那蒐集效能資料。 Windows 上的其他工具也使用類似的技巧,不過這裡的資訊或許
並不足以代表其他工具的運作方式。
首先,讓我們先從瀏覽器的角度來了解一下 Windows 上的網路堆疊(networking stack
1-1)。
The Internet
Ethernet adapter
drivers
TCP/IP
Winsock
SSL LibraryWeb Browser
User Mode
Kernel Mode
1-1 瀏覽器所見到的 Windows 網路堆疊
WebPagetest 內部原理
Patrick Meenan
第一章
2
   
第一章
如果是在 Windows 上執行的,不管用的是哪一個瀏覽器,其架構差不多都得是上圖所示
的那樣,所有的通訊都經由 Windows socket API(實際上,在 Windows 上透過 TCP/IP
通訊的應用程式都應該是這樣)。
函式截取(Function Interception
WebPagetest 運作方式的關鍵在於它截取(intercept)任意函式呼叫(function calls),並
且在傳送給 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

建構Android應用程式--使用HTML、CSS和JavaScript 第二版

建構Android應用程式--使用HTML、CSS和JavaScript 第二版

Jonathan Stark, Brian Jepson
高性能Spark

高性能Spark

Holden Karau, Rachel Warren
Python机器学习案例精解

Python机器学习案例精解

Posts & Telecom Press, Yuxi (Hayden) Liu

Publisher Resources

ISBN: 9789862768587