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
96 type: timing_distribution
98 WebRender renderer time excluding frames in which shader compilation took
100 time_unit: microsecond
102 - https://bugzilla.mozilla.org/show_bug.cgi?id=1784286
104 - https://bugzilla.mozilla.org/show_bug.cgi?id=1784286
108 - gfx-telemetry-alerts@mozilla.com
110 telemetry_mirror: WR_RENDERER_TIME_NO_SC_MS
112 type: timing_distribution
114 The time to rasterize glyphs for consumption by WebRender.
115 time_unit: microsecond
117 - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
118 - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
120 - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
121 - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
125 - gfx-telemetry-alerts@mozilla.com
126 - jmuizelaar@mozilla.com
128 telemetry_mirror: WR_FRAMEBUILD_TIME
130 type: timing_distribution
132 WebRender scene build time.
133 time_unit: microsecond
135 - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
137 - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
141 - gfx-telemetry-alerts@mozilla.com
142 - jmuizelaar@mozilla.com
144 telemetry_mirror: WR_SCENEBUILD_TIME
146 type: timing_distribution
148 WebRender scene swap time.
149 time_unit: microsecond
151 - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
153 - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
157 - gfx-telemetry-alerts@mozilla.com
158 - jmuizelaar@mozilla.com
160 telemetry_mirror: WR_SCENESWAP_TIME
161 texture_cache_update_time:
162 type: timing_distribution
164 Time taken by WebRender to update the texture cache.
165 time_unit: microsecond
167 - https://bugzilla.mozilla.org/show_bug.cgi?id=1772223
169 - https://bugzilla.mozilla.org/show_bug.cgi?id=1772223
173 - gfx-telemetry-alerts@mozilla.com
175 telemetry_mirror: WR_TEXTURE_CACHE_UPDATE_TIME
177 type: timing_distribution
179 Time elapsed between the construction of a transaction and the
180 associated frame build beginning.
181 time_unit: microsecond
183 - https://bugzilla.mozilla.org/show_bug.cgi?id=1778395
185 - https://bugzilla.mozilla.org/show_bug.cgi?id=1778395
189 - gfx-telemetry-alerts@mozilla.com
191 telemetry_mirror: WR_TIME_TO_FRAME_BUILD_MS
192 time_to_render_start:
193 type: timing_distribution
195 Time elapsed between the construction of a frame and the start of
197 time_unit: microsecond
199 - https://bugzilla.mozilla.org/show_bug.cgi?id=1778395
201 - https://bugzilla.mozilla.org/show_bug.cgi?id=1778395
205 - gfx-telemetry-alerts@mozilla.com
207 telemetry_mirror: WR_TIME_TO_RENDER_START_MS