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."
123 Counts how many times we do not resolve a blob URL
124 because of different partition keys
126 - https://bugzilla.mozilla.org/show_bug.cgi?id=1843158
128 - https://bugzilla.mozilla.org/show_bug.cgi?id=1843158
134 telemetry_mirror: BLOBURL_RESOLVE_STOPPED
136 performance.pageload:
138 type: timing_distribution
139 time_unit: millisecond
140 telemetry_mirror: PERF_PAGE_LOAD_TIME_MS
142 Time in milliseconds from navigationStart to loadEventStart
143 for the foreground http or https root content document.
144 (Migrated from the geckoview metric of the same name).
146 - https://bugzilla.mozilla.org/show_bug.cgi?id=1671729
147 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
149 - https://bugzilla.mozilla.org/show_bug.cgi?id=1671729#c7
151 - dpalmeiro@mozilla.com
152 - perf-telemetry-alerts@mozilla.com
155 load_time_responsestart:
156 type: timing_distribution
157 time_unit: millisecond
158 telemetry_mirror: PERF_PAGE_LOAD_TIME_FROM_RESPONSESTART_MS
160 Time in milliseconds from responseStart to loadEventStart
161 for the foreground http or https root content document.
162 (Migrated from the geckoview metric of the same name).
164 - https://bugzilla.mozilla.org/show_bug.cgi?id=1671729
165 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
167 - https://bugzilla.mozilla.org/show_bug.cgi?id=1671729#c7
169 - dpalmeiro@mozilla.com
170 - perf-telemetry-alerts@mozilla.com
174 type: timing_distribution
175 time_unit: millisecond
176 telemetry_mirror: PERF_FIRST_CONTENTFUL_PAINT_MS
178 The time between navigationStart and the first contentful paint
179 of a foreground http or https root content document, in
180 milliseconds. The contentful paint timestamp is taken during
181 display list building and does not include rasterization or
182 compositing of that paint.
183 (Migrated from the geckoview metric of the same name).
185 - https://bugzilla.mozilla.org/show_bug.cgi?id=1671729
186 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
188 - https://bugzilla.mozilla.org/show_bug.cgi?id=1671729#c7
190 - dpalmeiro@mozilla.com
191 - perf-telemetry-alerts@mozilla.com
195 type: timing_distribution
196 time_unit: millisecond
197 telemetry_mirror: PERF_FIRST_CONTENTFUL_PAINT_FROM_RESPONSESTART_MS
199 The time between responseStart and the first contentful paint
200 of a foreground http or https root content document, in
201 milliseconds. The contentful paint timestamp is taken during
202 display list building and does not include rasterization or
203 compositing of that paint.
204 (Migrated from the geckoview metric of the same name).
206 - https://bugzilla.mozilla.org/show_bug.cgi?id=1671729
207 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
209 - https://bugzilla.mozilla.org/show_bug.cgi?id=1671729#c7
211 - dpalmeiro@mozilla.com
212 - perf-telemetry-alerts@mozilla.com
218 type: timing_distribution
219 time_unit: millisecond
220 telemetry_mirror: TIME_TO_DOM_INTERACTIVE_MS
222 Time from navigationStart to domInteractive as per the W3C
223 Performance Timing API.
224 (Migrated from the geckoview metric of the same name.)
226 - https://bugzilla.mozilla.org/show_bug.cgi?id=1344893
227 - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
228 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
229 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
231 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
234 - perf-telemetry-alerts@mozilla.com
237 dom_content_loaded_start:
238 type: timing_distribution
239 time_unit: millisecond
240 telemetry_mirror: TIME_TO_DOM_CONTENT_LOADED_START_MS
242 Time from navigationStart to domContentLoadedEventStart as per
243 the W3C Performance Timing API.
244 (Migrated from the geckoview metric of the same name.)
246 - https://bugzilla.mozilla.org/show_bug.cgi?id=1344893
247 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
248 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
250 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
252 - perf-telemetry-alerts@mozilla.com
256 dom_content_loaded_end:
257 type: timing_distribution
258 time_unit: millisecond
259 telemetry_mirror: TIME_TO_DOM_CONTENT_LOADED_END_MS
261 Time from navigationStart to domContentLoadedEventEnd as per
262 the W3C Performance Timing API.
263 (Migrated from the geckoview metric of the same name.)
265 - https://bugzilla.mozilla.org/show_bug.cgi?id=1344893
266 - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
267 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
268 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
270 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
273 - perf-telemetry-alerts@mozilla.com
277 type: timing_distribution
278 time_unit: millisecond
279 telemetry_mirror: TIME_TO_DOM_COMPLETE_MS
281 Time from navigationStart to domComplete as per the W3C Performance
283 (Migrated from the geckoview metric of the same name.)
285 - https://bugzilla.mozilla.org/show_bug.cgi?id=1344893
286 - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
287 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
288 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
290 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
293 - perf-telemetry-alerts@mozilla.com
297 type: timing_distribution
298 time_unit: millisecond
299 telemetry_mirror: TIME_TO_LOAD_EVENT_START_MS
301 Time from navigationStart to loadEventStart as per the W3C Performance
303 (Migrated from the geckoview metric of the same name.)
305 - https://bugzilla.mozilla.org/show_bug.cgi?id=1344893
306 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
307 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
309 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
311 - perf-telemetry-alerts@mozilla.com
316 type: timing_distribution
317 time_unit: millisecond
318 telemetry_mirror: TIME_TO_LOAD_EVENT_END_MS
320 Time from navigationStart to loadEventEnd as per the W3C Performance
322 (Migrated from the geckoview metric of the same name.)
324 - https://bugzilla.mozilla.org/show_bug.cgi?id=1344893
325 - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
326 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
327 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
329 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
332 - perf-telemetry-alerts@mozilla.com
338 type: timing_distribution
339 time_unit: millisecond
340 telemetry_mirror: TIME_TO_NON_BLANK_PAINT_MS
342 The time between navigationStart and the first non-blank paint of a
343 foreground root content document, in milliseconds. This only records
344 documents that were in an active docshell throughout the whole time
345 between navigation start and non-blank paint. The non-blank paint
346 timestamp is taken during display list building and does not include
347 rasterization or compositing of that paint.
348 (Migrated from the geckoview metric of the same name.)
350 - https://bugzilla.mozilla.org/show_bug.cgi?id=1307242
351 - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
352 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077
353 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877842
355 - https://bugzilla.mozilla.org/show_bug.cgi?id=1580077#c10
358 - perf-telemetry-alerts@mozilla.com
364 type: timing_distribution
365 time_unit: millisecond
366 telemetry_mirror: JS_PAGELOAD_EXECUTION_MS
368 Time spent during page load executing 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_DELAZIFICATION_MS
385 Time spent during page load delazifying 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
398 type: timing_distribution
399 time_unit: millisecond
400 telemetry_mirror: JS_PAGELOAD_XDR_ENCODING_MS
402 Time spent during page load XDR encoding 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
414 baseline_compile_time:
415 type: timing_distribution
416 time_unit: millisecond
417 telemetry_mirror: JS_PAGELOAD_BASELINE_COMPILE_MS
419 Time spent during page load baseline compiling Javascript 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_GC_MS
436 Time spent during page load in the GC in ms.
437 (Migrated from the geckoview metric of the same name.)
439 - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139
440 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843
442 - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139#c4
444 - dpalmeiro@mozilla.com
445 - perf-telemetry-alerts@mozilla.com
449 type: timing_distribution
450 time_unit: millisecond
451 telemetry_mirror: JS_PAGELOAD_PARSE_MS
453 Time spent during page load syntax parsing JS scripts on
454 the main thread in ms.
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
467 type: timing_distribution
468 time_unit: millisecond
469 telemetry_mirror: JS_PAGELOAD_PROTECT_MS
471 Time spent during page load protecting JIT executable memory.
472 (Migrated from the geckoview metric of the same name.)
474 - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139
475 - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843
477 - https://bugzilla.mozilla.org/show_bug.cgi?id=1709139#c4
479 - dpalmeiro@mozilla.com
480 - perf-telemetry-alerts@mozilla.com