1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 # Adding a new metric? We have docs for that!
6 # https://firefox-source-docs.mozilla.org/toolkit/components/glean/user/new_definitions_file.html
9 $schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
11 - 'Core :: DOM: Core & HTML'
14 largest_contentful_paint:
15 type: timing_distribution
16 time_unit: millisecond
18 Time from navigation start to largest contentful paint.
20 - https://bugzilla.mozilla.org/show_bug.cgi?id=1862939
22 - https://bugzilla.mozilla.org/show_bug.cgi?id=1862939#c5
24 - perf-telemetry-alerts@mozilla.com
26 telemetry_mirror: PERF_LARGEST_CONTENTFUL_PAINT_MS
27 largest_contentful_paint_from_response_start:
28 type: timing_distribution
29 time_unit: millisecond
31 Time from response start to largest contentful paint.
33 - https://bugzilla.mozilla.org/show_bug.cgi?id=1862939
35 - https://bugzilla.mozilla.org/show_bug.cgi?id=1862939#c5
37 - perf-telemetry-alerts@mozilla.com
39 telemetry_mirror: PERF_LARGEST_CONTENTFUL_PAINT_FROM_RESPONSE_START_MS
43 Recorded when a top level content document has been loaded.
45 - https://bugzilla.mozilla.org/show_bug.cgi?id=1759744
46 - https://bugzilla.mozilla.org/show_bug.cgi?id=1799727
47 - https://bugzilla.mozilla.org/show_bug.cgi?id=1834774
48 - https://bugzilla.mozilla.org/show_bug.cgi?id=1862939
50 - https://bugzilla.mozilla.org/show_bug.cgi?id=1759744#c5
51 - https://bugzilla.mozilla.org/show_bug.cgi?id=1799727#c4
52 - https://bugzilla.mozilla.org/show_bug.cgi?id=1834774#c3
53 - https://bugzilla.mozilla.org/show_bug.cgi?id=1862939#c5
55 - perf-telemetry-alerts@mozilla.com
56 - dpalmeiro@mozilla.com
61 "Time between loadEventStart and navigationStart, in ms."
66 "Time taken to perform dns lookup of the top level document, in ms."
71 "Time between responseStart and navigationStart, in ms."
76 "Time between firstContentfulPaint and navigationStart, in ms."
81 "Time between largestContentfulPaint and navigationStart, at the point of onLoad firing, in ms. This may differ from the final LCP value as reported through the LCP histogram."
86 "Time spent executing JS during page load, in ms."
92 "Time spent in redirections for the top level document."
96 "Number of redirections for the top level document."
101 "One of normal,reload,stop,link,history,error or other."
105 "If true, a normal navigation was performed on the same origin."
109 "Version of HTTP protocol used."
119 performance.pageload:
121 type: timing_distribution
122 time_unit: millisecond
123 telemetry_mirror: PERF_PAGE_LOAD_TIME_MS
125 Time in milliseconds from navigationStart to loadEventStart
126 for the foreground http or https root content document.
127 (Migrated from the geckoview metric of the same name).
129 - https://bugzilla.mozilla.org/show_bug.cgi?id=1671729
130 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
132 - https://bugzilla.mozilla.org/show_bug.cgi?id=1671729#c7
134 - dpalmeiro@mozilla.com
135 - perf-telemetry-alerts@mozilla.com
138 load_time_responsestart:
139 type: timing_distribution
140 time_unit: millisecond
141 telemetry_mirror: PERF_PAGE_LOAD_TIME_FROM_RESPONSESTART_MS
143 Time in milliseconds from responseStart to loadEventStart
144 for the foreground http or https root content document.
145 (Migrated from the geckoview metric of the same name).
147 - https://bugzilla.mozilla.org/show_bug.cgi?id=1671729
148 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
150 - https://bugzilla.mozilla.org/show_bug.cgi?id=1671729#c7
152 - dpalmeiro@mozilla.com
153 - perf-telemetry-alerts@mozilla.com
157 type: timing_distribution
158 time_unit: millisecond
159 telemetry_mirror: PERF_FIRST_CONTENTFUL_PAINT_MS
161 The time between navigationStart and the first contentful paint
162 of a foreground http or https root content document, in
163 milliseconds. The contentful paint timestamp is taken during
164 display list building and does not include rasterization or
165 compositing of that paint.
166 (Migrated from the geckoview metric of the same name).
168 - https://bugzilla.mozilla.org/show_bug.cgi?id=1671729
169 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
171 - https://bugzilla.mozilla.org/show_bug.cgi?id=1671729#c7
173 - dpalmeiro@mozilla.com
174 - perf-telemetry-alerts@mozilla.com
178 type: timing_distribution
179 time_unit: millisecond
180 telemetry_mirror: PERF_FIRST_CONTENTFUL_PAINT_FROM_RESPONSESTART_MS
182 The time between responseStart and the first contentful paint
183 of a foreground http or https root content document, in
184 milliseconds. The contentful paint timestamp is taken during
185 display list building and does not include rasterization or
186 compositing of that paint.
187 (Migrated from the geckoview metric of the same name).
189 - https://bugzilla.mozilla.org/show_bug.cgi?id=1671729
190 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
192 - https://bugzilla.mozilla.org/show_bug.cgi?id=1671729#c7
194 - dpalmeiro@mozilla.com
195 - perf-telemetry-alerts@mozilla.com
201 type: timing_distribution
202 time_unit: millisecond
203 telemetry_mirror: TIME_TO_DOM_INTERACTIVE_MS
205 Time from navigationStart to domInteractive as per the W3C
206 Performance Timing API.
207 (Migrated from the geckoview metric of the same name.)
209 - https://bugzilla.mozilla.org/show_bug.cgi?id=1344893
210 - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
211 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
212 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
214 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
217 - perf-telemetry-alerts@mozilla.com
220 dom_content_loaded_start:
221 type: timing_distribution
222 time_unit: millisecond
223 telemetry_mirror: TIME_TO_DOM_CONTENT_LOADED_START_MS
225 Time from navigationStart to domContentLoadedEventStart as per
226 the W3C Performance Timing API.
227 (Migrated from the geckoview metric of the same name.)
229 - https://bugzilla.mozilla.org/show_bug.cgi?id=1344893
230 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
231 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
233 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
235 - perf-telemetry-alerts@mozilla.com
239 dom_content_loaded_end:
240 type: timing_distribution
241 time_unit: millisecond
242 telemetry_mirror: TIME_TO_DOM_CONTENT_LOADED_END_MS
244 Time from navigationStart to domContentLoadedEventEnd as per
245 the W3C Performance Timing API.
246 (Migrated from the geckoview metric of the same name.)
248 - https://bugzilla.mozilla.org/show_bug.cgi?id=1344893
249 - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
250 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
251 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
253 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
256 - perf-telemetry-alerts@mozilla.com
260 type: timing_distribution
261 time_unit: millisecond
262 telemetry_mirror: TIME_TO_DOM_COMPLETE_MS
264 Time from navigationStart to domComplete as per the W3C Performance
266 (Migrated from the geckoview metric of the same name.)
268 - https://bugzilla.mozilla.org/show_bug.cgi?id=1344893
269 - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
270 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
271 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
273 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
276 - perf-telemetry-alerts@mozilla.com
280 type: timing_distribution
281 time_unit: millisecond
282 telemetry_mirror: TIME_TO_LOAD_EVENT_START_MS
284 Time from navigationStart to loadEventStart as per the W3C Performance
286 (Migrated from the geckoview metric of the same name.)
288 - https://bugzilla.mozilla.org/show_bug.cgi?id=1344893
289 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
290 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
292 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
294 - perf-telemetry-alerts@mozilla.com
299 type: timing_distribution
300 time_unit: millisecond
301 telemetry_mirror: TIME_TO_LOAD_EVENT_END_MS
303 Time from navigationStart to loadEventEnd as per the W3C Performance
305 (Migrated from the geckoview metric of the same name.)
307 - https://bugzilla.mozilla.org/show_bug.cgi?id=1344893
308 - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
309 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
310 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
312 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
315 - perf-telemetry-alerts@mozilla.com
321 type: timing_distribution
322 time_unit: millisecond
323 telemetry_mirror: TIME_TO_NON_BLANK_PAINT_MS
325 The time between navigationStart and the first non-blank paint of a
326 foreground root content document, in milliseconds. This only records
327 documents that were in an active docshell throughout the whole time
328 between navigation start and non-blank paint. The non-blank paint
329 timestamp is taken during display list building and does not include
330 rasterization or compositing of that paint.
331 (Migrated from the geckoview metric of the same name.)
333 - https://bugzilla.mozilla.org/show_bug.cgi?id=1307242
334 - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
335 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
336 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
338 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
341 - perf-telemetry-alerts@mozilla.com
347 type: timing_distribution
348 time_unit: millisecond
349 telemetry_mirror: JS_PAGELOAD_EXECUTION_MS
351 Time spent during page load executing Javascript in ms.
352 (Migrated from the geckoview metric of the same name.)
354 - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139
355 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843
357 - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139#c4
359 - dpalmeiro@mozilla.com
360 - perf-telemetry-alerts@mozilla.com
364 type: timing_distribution
365 time_unit: millisecond
366 telemetry_mirror: JS_PAGELOAD_DELAZIFICATION_MS
368 Time spent during page load delazifying Javascript in ms.
369 (Migrated from the geckoview metric of the same name.)
371 - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139
372 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843
374 - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139#c4
376 - dpalmeiro@mozilla.com
377 - perf-telemetry-alerts@mozilla.com
381 type: timing_distribution
382 time_unit: millisecond
383 telemetry_mirror: JS_PAGELOAD_XDR_ENCODING_MS
385 Time spent during page load XDR encoding Javascript in ms.
386 (Migrated from the geckoview metric of the same name.)
388 - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139
389 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843
391 - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139#c4
393 - dpalmeiro@mozilla.com
394 - perf-telemetry-alerts@mozilla.com
397 baseline_compile_time:
398 type: timing_distribution
399 time_unit: millisecond
400 telemetry_mirror: JS_PAGELOAD_BASELINE_COMPILE_MS
402 Time spent during page load baseline compiling Javascript in ms.
403 (Migrated from the geckoview metric of the same name.)
405 - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139
406 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843
408 - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139#c4
410 - dpalmeiro@mozilla.com
411 - perf-telemetry-alerts@mozilla.com
415 type: timing_distribution
416 time_unit: millisecond
417 telemetry_mirror: JS_PAGELOAD_GC_MS
419 Time spent during page load in the GC in ms.
420 (Migrated from the geckoview metric of the same name.)
422 - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139
423 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843
425 - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139#c4
427 - dpalmeiro@mozilla.com
428 - perf-telemetry-alerts@mozilla.com
432 type: timing_distribution
433 time_unit: millisecond
434 telemetry_mirror: JS_PAGELOAD_PARSE_MS
436 Time spent during page load syntax parsing JS scripts on
437 the main thread in ms.
438 (Migrated from the geckoview metric of the same name.)
440 - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139
441 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843
443 - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139#c4
445 - dpalmeiro@mozilla.com
446 - perf-telemetry-alerts@mozilla.com
450 type: timing_distribution
451 time_unit: millisecond
452 telemetry_mirror: JS_PAGELOAD_PROTECT_MS
454 Time spent during page load protecting JIT executable memory.
455 (Migrated from the geckoview metric of the same name.)
457 - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139
458 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843
460 - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139#c4
462 - dpalmeiro@mozilla.com
463 - perf-telemetry-alerts@mozilla.com