Backed out changeset 2450366cf7ca (bug 1891629) for causing win msix mochitest failures
[gecko.git] / js / xpconnect / metrics.yaml
blobe256f562f16ebd5a57f8de1874527e38f7aee177
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
8 ---
9 $schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
10 $tags:
11   - 'Core :: XPConnect'
14 performance.clone.deserialize:
15   size:
16     description: >
17       Size of deserialized data, in bytes
18     type: memory_distribution
19     memory_unit: byte
20     bugs:
21       - https://bugzilla.mozilla.org/show_bug.cgi?id=1717631
22     data_reviews:
23       - https://bugzilla.mozilla.org/show_bug.cgi?id=1717631#c4
24     notification_emails:
25       - sfink@mozilla.com
26     expires: never
28   items:
29     description: >
30       Size of deserialized data, in items
31     type: custom_distribution
32     unit: Serialized items
33     histogram_type: exponential
34     range_max: 2147483646
35     bucket_count: 50
36     bugs:
37       - https://bugzilla.mozilla.org/show_bug.cgi?id=1717631
38     data_reviews:
39       - https://bugzilla.mozilla.org/show_bug.cgi?id=1717631#c4
40     notification_emails:
41       - sfink@mozilla.com
42     expires: never
44   time:
45     description: >
46       Time spent deserializing structured data
47     type: timing_distribution
48     time_unit: microsecond
49     bugs:
50       - https://bugzilla.mozilla.org/show_bug.cgi?id=1717631
51     data_reviews:
52       - https://bugzilla.mozilla.org/show_bug.cgi?id=1717631#c4
53     notification_emails:
54       - sfink@mozilla.com
55     expires: never
58 javascript.gc:
59   total_time:
60     type: timing_distribution
61     time_unit: millisecond
62     description: >
63       The total time taken by a major collection.
64       (Migrated from the geckoview metric of the same name.)
65     bugs:
66       - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419
67       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843
68     data_reviews:
69       - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419#c8
70     notification_emails:
71       - dev-telemetry-gc-alerts@mozilla.org
72       - jcoppeard@mozilla.com
73     expires: never
75   minor_time:
76     type: timing_distribution
77     time_unit: microsecond
78     description: >
79       The time taked by a minor (nursery) collection.
80       (Migrated from the geckoview metric of the same name.)
81     bugs:
82       - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419
83       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843
84     data_reviews:
85       - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419#c17
86     notification_emails:
87       - dev-telemetry-gc-alerts@mozilla.org
88       - jcoppeard@mozilla.com
89     expires: never
91   prepare_time:
92     type: timing_distribution
93     time_unit: millisecond
94     description: >
95       The time spent in the preparation phase.
96       (Migrated from the geckoview metric of the same name.)
97     bugs:
98       - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419
99       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843
100     data_reviews:
101       - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419#c17
102     notification_emails:
103       - dev-telemetry-gc-alerts@mozilla.org
104       - jcoppeard@mozilla.com
105     expires: never
107   mark_roots_time:
108     type: timing_distribution
109     time_unit: microsecond
110     description: >
111       The time spent marking GC roots.
112       (Migrated from the geckoview metric of the same name.)
113     bugs:
114       - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419
115       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843
116     data_reviews:
117       - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419#c17
118     notification_emails:
119       - dev-telemetry-gc-alerts@mozilla.org
120       - jcoppeard@mozilla.com
121     expires: never
123   mark_time:
124     type: timing_distribution
125     time_unit: millisecond
126     description: >
127       The time spent in the mark phase.
128       (Migrated from the geckoview metric of the same name.)
129     bugs:
130       - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419
131       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843
132     data_reviews:
133       - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419#c17
134     notification_emails:
135       - dev-telemetry-gc-alerts@mozilla.org
136       - jcoppeard@mozilla.com
137     expires: never
139   sweep_time:
140     type: timing_distribution
141     time_unit: millisecond
142     description: >
143       The time spent in the sweep phase.
144       (Migrated from the geckoview metric of the same name.)
145     bugs:
146       - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419
147       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843
148     data_reviews:
149       - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419#c17
150     notification_emails:
151       - dev-telemetry-gc-alerts@mozilla.org
152       - jcoppeard@mozilla.com
153     expires: never
155   compact_time:
156     type: timing_distribution
157     time_unit: millisecond
158     description: >
159       The time spent in the compact phase.
160       (Migrated from the geckoview metric of the same name.)
161     bugs:
162       - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419
163       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843
164     data_reviews:
165       - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419#c17
166     notification_emails:
167       - dev-telemetry-gc-alerts@mozilla.org
168       - jcoppeard@mozilla.com
169     expires: never
171   slice_time:
172     type: timing_distribution
173     time_unit: millisecond
174     description: >
175       The time spent running a GC slice.
176       (Migrated from the geckoview metric of the same name.)
177     bugs:
178       - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419
179       - https://bugzilla.mozilla.org/show_bug.cgi?id=1877843
180     data_reviews:
181       - https://bugzilla.mozilla.org/show_bug.cgi?id=1636419#c17
182     notification_emails:
183       - dev-telemetry-gc-alerts@mozilla.org
184       - jcoppeard@mozilla.com
185     expires: never