DTrace Mozilla - patch available and URI/Image timings combined

Hi - well after a bit of hacking to make sure everything built under debug I've uploaded the latest patches for the Tracing Framework [#370906], which contain the new mozilla<pid>:::load-start and mozilla<pid>:::load-done probes for URI's and Images.

I changed the timing script so it will log both URI and Image requests. For a bit of fun I ran it against Jonathan's blog, both using a hard reload to avoid the cache and again but allowing the cache to kick in. You can see very clearly from the output how the cache is functioning and what is dominating the timings in both instances.

Browser requests by scheme - Using the Cache

PID UID TYPE COUNT AVG(msec) SUM(msec) SCHEME
6423 65535 IMAGE_REQ 1 0 0 https
6423 65535 IMAGE_REQ 22 3 84 http
6423 65535 URI 23 541 12448 http

Browser requests by scheme - Bypass the Cache (Hard Reload)

PID UID TYPE COUNT AVG(msec) SUM(msec) SCHEME
6423 65535 IMAGE_REQ 1 0 0 https
6423 65535 IMAGE_REQ 60 221 13269 http
6423 65535 URI 23 723 16635 http

Off to get stuck into DNS lookup probes, thanks to biesi on irc.mozilla.org #developers for the pointers yet again :)  You are a star and have shown remarkable patience with my numerous very basic questions about the mozilla code base!!

 

Comments:

Post a Comment:
Comments are closed for this entry.
About

jmr

Search

Top Tags
Categories
Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today