1 The following are examples of running js_objcpu.d.
3 This script will show the time on-CPU of object creation events in graphical
6 Here we see it running on Code/JavaScript/func_clock.html
9 Tracing... Hit Ctrl-C to end.
11 Total object creation on-CPU time (ms): 0
13 Object creation on-CPU time distributions (us),
16 value ------------- Distribution ------------- count
18 8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 2
21 We can see that there were two object creation events, both of type 'Date'
22 that spent between 8 microseconds and 15 microseconds on-CPU each.
25 Here we see the results of having Code/JavaScript/func_slow.html in a browser
26 window and hitting reload. This includes events that happen due to mouse
30 Tracing... Hit Ctrl-C to end.
32 Total object creation on-CPU time (ms): 2
34 Object creation on-CPU time distributions (us),
37 value ------------- Distribution ------------- count
39 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
43 value ------------- Distribution ------------- count
45 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
49 value ------------- Distribution ------------- count
51 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
55 value ------------- Distribution ------------- count
57 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
61 value ------------- Distribution ------------- count
63 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
67 value ------------- Distribution ------------- count
69 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
73 value ------------- Distribution ------------- count
75 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
79 value ------------- Distribution ------------- count
81 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
84 chrome://global/content/bindings/popup.xml#popup 8830492
85 value ------------- Distribution ------------- count
87 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
90 chrome://global/content/bindings/scrollbar.xml#scrollbar 8beef52
91 value ------------- Distribution ------------- count
93 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
97 value ------------- Distribution ------------- count
99 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
103 value ------------- Distribution ------------- count
105 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
109 value ------------- Distribution ------------- count
111 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
114 chrome://global/content/bindings/popup.xml#popup 8bef592
115 value ------------- Distribution ------------- count
117 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
120 nsXPCComponents_Classes
121 value ------------- Distribution ------------- count
123 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
127 value ------------- Distribution ------------- count
129 2 |@@@@@@@@@@@@@@@@@@@@ 1
130 4 |@@@@@@@@@@@@@@@@@@@@ 1
134 value ------------- Distribution ------------- count
136 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 3
139 Global Scope Polluter
140 value ------------- Distribution ------------- count
142 8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 1
146 value ------------- Distribution ------------- count
148 2 |@@@@@@@@@@@@@@@@@@@@ 1
150 8 |@@@@@@@@@@@@@@@@@@@@ 1
154 value ------------- Distribution ------------- count
156 2 |@@@@@@@@@@@@@@@@@@@@ 1
158 8 |@@@@@@@@@@@@@@@@@@@@ 1
162 value ------------- Distribution ------------- count
164 2 |@@@@@@@@@@@@@@@@@@@@ 1
166 8 |@@@@@@@@@@@@@@@@@@@@ 1
170 value ------------- Distribution ------------- count
172 2 |@@@@@@@@@@@@@@@@@@@@ 1
174 8 |@@@@@@@@@@@@@@@@@@@@ 1
178 value ------------- Distribution ------------- count
180 2 |@@@@@@@@@@@@@@@@@@@@ 1
182 8 |@@@@@@@@@@@@@@@@@@@@ 1
185 XPC_WN_NoMods_Proto_JSClass
186 value ------------- Distribution ------------- count
188 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 3
193 value ------------- Distribution ------------- count
195 4 |@@@@@@@@@@@@@@@@@@@@ 1
196 8 |@@@@@@@@@@@@@@@@@@@@ 1
200 value ------------- Distribution ------------- count
202 8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 2
206 value ------------- Distribution ------------- count
208 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 5
211 DOM Constructor.prototype
212 value ------------- Distribution ------------- count
214 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@ 2
221 value ------------- Distribution ------------- count
224 8 |@@@@@@@@@@@@@@@@@@@@@@@@@@@ 2
228 value ------------- Distribution ------------- count
230 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 9
235 value ------------- Distribution ------------- count
238 4 |@@@@@@@@@@@@@@@@@@@@@@@@@ 5
242 value ------------- Distribution ------------- count
245 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@ 4
250 value ------------- Distribution ------------- count
252 2 |@@@@@@@@@@@@@@@@@@@@@@ 5
253 4 |@@@@@@@@@@@@@@@@@@ 4
257 value ------------- Distribution ------------- count
260 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 6
263 XPCWrappedNative_NoHelper
264 value ------------- Distribution ------------- count
267 4 |@@@@@@@@@@@@@@@@@@@@ 4
271 XPC_WN_ModsAllowed_Proto_JSClass
272 value ------------- Distribution ------------- count
274 2 |@@@@@@@@@@@@@@@@@@@@@@@@ 6
280 value ------------- Distribution ------------- count
282 4 |@@@@@@@@@@@@@@@@@ 3
283 8 |@@@@@@@@@@@@@@@@@@@@@@@ 4
287 value ------------- Distribution ------------- count
289 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 11
293 value ------------- Distribution ------------- count
296 4 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 10
301 value ------------- Distribution ------------- count
303 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 40
309 value ------------- Distribution ------------- count
311 2 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 246