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
14 build_displaylist_time:
15 type: timing_distribution
17 The time to build a Gecko display list.
19 - https://bugzilla.mozilla.org/show_bug.cgi?id=1728423
21 - https://bugzilla.mozilla.org/show_bug.cgi?id=1728423
25 - gfx-telemetry-alerts@mozilla.com
26 - mwoodrow@mozilla.com
28 telemetry_mirror: PAINT_BUILD_DISPLAYLIST_TIME
32 type: timing_distribution
34 The time spent waiting for the GPU to complete previously issued drawing
36 time_unit: microsecond
38 - https://bugzilla.mozilla.org/show_bug.cgi?id=1772216
40 - https://bugzilla.mozilla.org/show_bug.cgi?id=1772216
44 - gfx-telemetry-alerts@mozilla.com
46 telemetry_mirror: WR_GPU_WAIT_TIME
47 rasterize_glyphs_time:
48 type: timing_distribution
50 The time to rasterize glyphs for consumption by WebRender.
51 time_unit: microsecond
53 - https://bugzilla.mozilla.org/show_bug.cgi?id=1728423
55 - https://bugzilla.mozilla.org/show_bug.cgi?id=1728423
59 - gfx-telemetry-alerts@mozilla.com
61 telemetry_mirror: WR_RASTERIZE_GLYPHS_TIME
63 type: timing_distribution
65 The time to rasterize blobs for consumption by WebRender.
66 time_unit: microsecond
68 - https://bugzilla.mozilla.org/show_bug.cgi?id=1770974
70 - https://bugzilla.mozilla.org/show_bug.cgi?id=1770974
74 - gfx-telemetry-alerts@mozilla.com
76 telemetry_mirror: WR_RASTERIZE_BLOBS_TIME
78 type: timing_distribution
80 WebRender renderer time.
81 time_unit: microsecond
83 - https://bugzilla.mozilla.org/show_bug.cgi?id=1772223
85 - https://bugzilla.mozilla.org/show_bug.cgi?id=1772223
89 - gfx-telemetry-alerts@mozilla.com
91 telemetry_mirror: WR_RENDERER_TIME
93 type: timing_distribution
95 WebRender renderer time excluding frames in which shader compilation took
97 time_unit: microsecond
99 - https://bugzilla.mozilla.org/show_bug.cgi?id=1784286
101 - https://bugzilla.mozilla.org/show_bug.cgi?id=1784286
105 - gfx-telemetry-alerts@mozilla.com
107 telemetry_mirror: WR_RENDERER_TIME_NO_SC_MS
109 type: timing_distribution
111 The time to rasterize glyphs for consumption by WebRender.
112 time_unit: microsecond
114 - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
115 - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
117 - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
118 - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
122 - gfx-telemetry-alerts@mozilla.com
123 - jmuizelaar@mozilla.com
125 telemetry_mirror: WR_FRAMEBUILD_TIME
127 type: timing_distribution
129 WebRender scene build time.
130 time_unit: microsecond
132 - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
134 - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
138 - gfx-telemetry-alerts@mozilla.com
139 - jmuizelaar@mozilla.com
141 telemetry_mirror: WR_SCENEBUILD_TIME
143 type: timing_distribution
145 WebRender scene swap time.
146 time_unit: microsecond
148 - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
150 - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
154 - gfx-telemetry-alerts@mozilla.com
155 - jmuizelaar@mozilla.com
157 telemetry_mirror: WR_SCENESWAP_TIME
158 texture_cache_update_time:
159 type: timing_distribution
161 Time taken by WebRender to update the texture cache.
162 time_unit: microsecond
164 - https://bugzilla.mozilla.org/show_bug.cgi?id=1772223
166 - https://bugzilla.mozilla.org/show_bug.cgi?id=1772223
170 - gfx-telemetry-alerts@mozilla.com
172 telemetry_mirror: WR_TEXTURE_CACHE_UPDATE_TIME
174 type: timing_distribution
176 Time elapsed between the construction of a transaction and the
177 associated frame build beginning.
178 time_unit: microsecond
180 - https://bugzilla.mozilla.org/show_bug.cgi?id=1778395
182 - https://bugzilla.mozilla.org/show_bug.cgi?id=1778395
186 - gfx-telemetry-alerts@mozilla.com
188 telemetry_mirror: WR_TIME_TO_FRAME_BUILD_MS
189 time_to_render_start:
190 type: timing_distribution
192 Time elapsed between the construction of a frame and the start of
194 time_unit: microsecond
196 - https://bugzilla.mozilla.org/show_bug.cgi?id=1778395
198 - https://bugzilla.mozilla.org/show_bug.cgi?id=1778395
202 - gfx-telemetry-alerts@mozilla.com
204 telemetry_mirror: WR_TIME_TO_RENDER_START_MS