Bug 1470901 - Add telemetry probes for measuring WebRender paint phases. r=chutten
authorKartikaya Gupta <kgupta@mozilla.com>
Wed, 04 Jul 2018 07:52:19 -0400
changeset 814170 87d1695413a06d82eafcb5a7f5f06f89aa82217a
parent 814169 1e689eca8d9851b49cc88dedd4832224d94e9183
child 814171 346b316a0fe4d127aa059e2ca98d49a0df198d22
push id115123
push userjdescottes@mozilla.com
push dateWed, 04 Jul 2018 17:42:29 +0000
reviewerschutten
bugs1470901
milestone63.0a1
Bug 1470901 - Add telemetry probes for measuring WebRender paint phases. r=chutten MozReview-Commit-ID: G1QYIdYNP9P
toolkit/components/telemetry/Histograms.json
--- a/toolkit/components/telemetry/Histograms.json
+++ b/toolkit/components/telemetry/Histograms.json
@@ -13816,10 +13816,40 @@
     "record_in_processes": ["content"],
     "alert_emails": ["xquan@mozilla.com", "botond@mozilla.com"],
     "bug_numbers": [1423013, 1423017],
     "expires_in_version": "65",
     "kind": "categorical",
     "releaseChannelCollection": "opt-out",
     "labels": ["NoOverflow", "Desktop", "ButNotMinScaleSize", "MinScaleSize"],
     "description": "How common are different types of out-of-reach viewport overflow?"
+  },
+  "WR_SCENEBUILD_TIME": {
+    "record_in_processes": ["main", "gpu"],
+    "alert_emails": ["kgupta@mozilla.com"],
+    "bug_numbers": [1470901],
+    "expires_in_version": "never",
+    "kind": "exponential",
+    "high": 1000,
+    "n_buckets": 50,
+    "description": "WebRender scene build time in milliseconds"
+  },
+  "WR_SCENESWAP_TIME": {
+    "record_in_processes": ["main", "gpu"],
+    "alert_emails": ["kgupta@mozilla.com"],
+    "bug_numbers": [1470901],
+    "expires_in_version": "never",
+    "kind": "exponential",
+    "high": 1000,
+    "n_buckets": 50,
+    "description": "WebRender scene swap time in milliseconds"
+  },
+  "WR_RENDER_TIME": {
+    "record_in_processes": ["main", "gpu"],
+    "alert_emails": ["kgupta@mozilla.com"],
+    "bug_numbers": [1470901],
+    "expires_in_version": "never",
+    "kind": "exponential",
+    "high": 1000,
+    "n_buckets": 50,
+    "description": "WebRender render time in milliseconds"
   }
 }