Commit 73cb259c authored by Jamie Nicol's avatar Jamie Nicol
Browse files

Bug 1584109 - Add graphics telemetry probes to geckoview_streaming. r=jrmuizel,Dexter

Differential Revision: https://phabricator.services.mozilla.com/D48344

--HG--
extra : moz-landing-system : lando
parent 51410a09
Loading
Loading
Loading
Loading
+46 −46
Original line number Diff line number Diff line
@@ -259,11 +259,11 @@
  },
  "CHECKERBOARD_DURATION": {
    "record_in_processes": ["main", "content", "gpu"],
    "products": ["firefox", "fennec", "geckoview"],
    "products": ["firefox", "fennec", "geckoview", "geckoview_streaming"],
    "alert_emails": ["gfx-telemetry-alerts@mozilla.com", "kgupta@mozilla.com"],
    "bug_numbers": [1238040, 1539309],
    "bug_numbers": [1238040, 1539309, 1584109],
    "releaseChannelCollection": "opt-out",
    "expires_in_version": "73",
    "expires_in_version": "never",
    "kind": "exponential",
    "high": 100000,
    "n_buckets": 50,
@@ -271,11 +271,11 @@
  },
  "CHECKERBOARD_PEAK": {
    "record_in_processes": ["main", "content", "gpu"],
    "products": ["firefox", "fennec", "geckoview"],
    "products": ["firefox", "fennec", "geckoview", "geckoview_streaming"],
    "alert_emails": ["gfx-telemetry-alerts@mozilla.com", "kgupta@mozilla.com"],
    "bug_numbers": [1238040, 1539309],
    "bug_numbers": [1238040, 1539309, 1584109],
    "releaseChannelCollection": "opt-out",
    "expires_in_version": "73",
    "expires_in_version": "never",
    "kind": "exponential",
    "high": 66355200,
    "n_buckets": 50,
@@ -283,11 +283,11 @@
  },
  "CHECKERBOARD_POTENTIAL_DURATION": {
    "record_in_processes": ["main", "content", "gpu"],
    "products": ["firefox", "fennec", "geckoview"],
    "products": ["firefox", "fennec", "geckoview", "geckoview_streaming"],
    "alert_emails": ["gfx-telemetry-alerts@mozilla.com", "kgupta@mozilla.com"],
    "bug_numbers": [1238040, 1539309],
    "bug_numbers": [1238040, 1539309, 1584109],
    "releaseChannelCollection": "opt-out",
    "expires_in_version": "73",
    "expires_in_version": "never",
    "kind": "exponential",
    "high": 1000000,
    "n_buckets": 50,
@@ -295,11 +295,11 @@
  },
  "CHECKERBOARD_SEVERITY": {
    "record_in_processes": ["main", "content", "gpu"],
    "products": ["firefox", "fennec", "geckoview"],
    "products": ["firefox", "fennec", "geckoview", "geckoview_streaming"],
    "alert_emails": ["gfx-telemetry-alerts@mozilla.com", "kgupta@mozilla.com"],
    "bug_numbers": [1238040, 1539309],
    "bug_numbers": [1238040, 1539309, 1584109],
    "releaseChannelCollection": "opt-out",
    "expires_in_version": "73",
    "expires_in_version": "never",
    "kind": "exponential",
    "high": 1073741824,
    "n_buckets": 50,
@@ -13958,9 +13958,9 @@
  },
  "CONTENT_PAINT_TIME": {
    "record_in_processes": ["main", "content"],
    "products": ["firefox", "fennec", "geckoview"],
    "products": ["firefox", "fennec", "geckoview", "geckoview_streaming"],
    "alert_emails": ["gfx-telemetry-alerts@mozilla.com", "mwoodrow@mozilla.com", "dbolter@mozilla.com"],
    "bug_numbers": [1309442, 1489524],
    "bug_numbers": [1309442, 1489524, 1584109],
    "expires_in_version": "never",
    "releaseChannelCollection": "opt-out",
    "kind": "exponential",
@@ -13970,9 +13970,9 @@
  },
  "CONTENT_FULL_PAINT_TIME": {
    "record_in_processes": ["main", "content", "gpu"],
    "products": ["firefox", "fennec", "geckoview"],
    "products": ["firefox", "fennec", "geckoview", "geckoview_streaming"],
    "alert_emails": ["gfx-telemetry-alerts@mozilla.com", "jmuizelaar@mozilla.com", "dbolter@mozilla.com"],
    "bug_numbers": [1505858],
    "bug_numbers": [1505858, 1584109],
    "expires_in_version": "never",
    "releaseChannelCollection": "opt-out",
    "kind": "exponential",
@@ -13982,9 +13982,9 @@
  },
  "CONTENT_FRAME_TIME": {
    "record_in_processes": ["main", "gpu"],
    "products": ["firefox", "fennec", "geckoview"],
    "alert_emails": ["gfx-telemetry-alerts@mozilla.com", "rhunt@mozilla.com"],
    "bug_numbers": [1470528, 1509536],
    "products": ["firefox", "fennec", "geckoview", "geckoview_streaming"],
    "alert_emails": ["gfx-telemetry-alerts@mozilla.com", "jnicol@mozilla.com"],
    "bug_numbers": [1470528, 1509536, 1584109],
    "expires_in_version": "never",
    "releaseChannelCollection": "opt-out",
    "kind": "exponential",
@@ -13994,9 +13994,9 @@
  },
  "CONTENT_FRAME_TIME_VSYNC": {
    "record_in_processes": ["main", "gpu"],
    "products": ["firefox", "fennec", "geckoview"],
    "products": ["firefox", "fennec", "geckoview", "geckoview_streaming"],
    "alert_emails": ["gfx-telemetry-alerts@mozilla.com", "mwoodrow@mozilla.com"],
    "bug_numbers": [1517355],
    "bug_numbers": [1517355, 1584109],
    "expires_in_version": "never",
    "releaseChannelCollection": "opt-out",
    "kind": "linear",
@@ -14007,10 +14007,10 @@
  },
  "CONTENT_FRAME_TIME_WITH_SVG": {
    "record_in_processes": ["main", "gpu"],
    "products": ["firefox", "fennec", "geckoview"],
    "products": ["firefox", "fennec", "geckoview", "geckoview_streaming"],
    "alert_emails": ["gfx-telemetry-alerts@mozilla.com", "mwoodrow@mozilla.com"],
    "bug_numbers": [1483549, 1509536],
    "expires_in_version": "70",
    "bug_numbers": [1483549, 1509536, 1584109],
    "expires_in_version": "never",
    "releaseChannelCollection": "opt-out",
    "kind": "exponential",
    "high": 5000,
@@ -14019,10 +14019,10 @@
  },
  "CONTENT_FRAME_TIME_WITHOUT_RESOURCE_UPLOAD": {
    "record_in_processes": ["main", "gpu"],
    "products": ["firefox", "fennec", "geckoview"],
    "products": ["firefox", "fennec", "geckoview", "geckoview_streaming"],
    "alert_emails": ["gfx-telemetry-alerts@mozilla.com", "mwoodrow@mozilla.com"],
    "bug_numbers": [1503405],
    "expires_in_version": "70",
    "bug_numbers": [1503405, 1584109],
    "expires_in_version": "never",
    "kind": "exponential",
    "high": 5000,
    "n_buckets": 50,
@@ -14030,10 +14030,10 @@
  },
  "CONTENT_FRAME_TIME_WITHOUT_UPLOAD": {
    "record_in_processes": ["main", "gpu"],
    "products": ["firefox", "fennec", "geckoview"],
    "products": ["firefox", "fennec", "geckoview", "geckoview_streaming"],
    "alert_emails": ["gfx-telemetry-alerts@mozilla.com", "mwoodrow@mozilla.com"],
    "bug_numbers": [1503405],
    "expires_in_version": "70",
    "bug_numbers": [1503405, 1584109],
    "expires_in_version": "never",
    "kind": "exponential",
    "high": 5000,
    "n_buckets": 50,
@@ -14041,10 +14041,10 @@
  },
  "CONTENT_FRAME_TIME_REASON": {
    "record_in_processes": ["main", "gpu"],
    "products": ["firefox", "fennec", "geckoview"],
    "products": ["firefox", "fennec", "geckoview", "geckoview_streaming"],
    "alert_emails": ["gfx-telemetry-alerts@mozilla.com", "mwoodrow@mozilla.com"],
    "bug_numbers": [1510853],
    "expires_in_version": "73",
    "bug_numbers": [1510853, 1584109],
    "expires_in_version": "never",
    "kind": "categorical",
    "description": "The reason that CONTENT_FRAME_TIME recorded a slow (>200) result, if any.",
    "labels": ["OnTime", "NoVsync", "MissedComposite", "SlowComposite", "MissedCompositeMid", "MissedCompositeLong", "MissedCompositeLow", "NoVsyncNoId"]
@@ -15130,9 +15130,9 @@
  },
  "WR_SCENEBUILD_TIME": {
    "record_in_processes": ["main", "gpu"],
    "products": ["firefox", "fennec", "geckoview"],
    "alert_emails": ["kgupta@mozilla.com"],
    "bug_numbers": [1470901],
    "products": ["firefox", "fennec", "geckoview", "geckoview_streaming"],
    "alert_emails": ["gfx-telemetry-alerts@mozilla.com", "kgupta@mozilla.com"],
    "bug_numbers": [1470901, 1584109],
    "expires_in_version": "never",
    "kind": "exponential",
    "high": 1000,
@@ -15141,9 +15141,9 @@
  },
  "WR_SCENESWAP_TIME": {
    "record_in_processes": ["main", "gpu"],
    "products": ["firefox", "fennec", "geckoview"],
    "alert_emails": ["kgupta@mozilla.com"],
    "bug_numbers": [1470901],
    "products": ["firefox", "fennec", "geckoview", "geckoview_streaming"],
    "alert_emails": ["gfx-telemetry-alerts@mozilla.com", "kgupta@mozilla.com"],
    "bug_numbers": [1470901, 1584109],
    "expires_in_version": "never",
    "kind": "exponential",
    "high": 1000,
@@ -15152,9 +15152,9 @@
  },
  "WR_FRAMEBUILD_TIME": {
    "record_in_processes": ["main", "gpu"],
    "products": ["firefox", "fennec", "geckoview"],
    "alert_emails": ["kgupta@mozilla.com"],
    "bug_numbers": [1470901],
    "products": ["firefox", "fennec", "geckoview", "geckoview_streaming"],
    "alert_emails": ["gfx-telemetry-alerts@mozilla.com", "kgupta@mozilla.com"],
    "bug_numbers": [1470901, 1584109],
    "expires_in_version": "never",
    "kind": "exponential",
    "high": 1000,
@@ -15304,7 +15304,7 @@
  },
  "GV_PAGE_LOAD_MS": {
    "record_in_processes": ["main", "content"],
    "products": ["firefox", "fennec", "geckoview"],
    "products": ["firefox", "fennec", "geckoview", "geckoview_streaming"],
    "alert_emails": [
      "geckoview-team@mozilla.com",
      "esawin@mozilla.com"
@@ -15313,7 +15313,7 @@
    "kind": "exponential",
    "high": 100000,
    "n_buckets": 100,
    "bug_numbers": [1499418],
    "bug_numbers": [1499418, 1584109],
    "description": "GeckoView: Time taken to load a page in ms. This includes all static contents, no dynamic content. Loading of about: pages is not counted."
  },
  "GV_PAGE_RELOAD_MS": {
@@ -15333,7 +15333,7 @@
  },
  "GV_STARTUP_RUNTIME_MS": {
    "record_in_processes": ["main", "content"],
    "products": ["firefox", "fennec", "geckoview"],
    "products": ["firefox", "fennec", "geckoview", "geckoview_streaming"],
    "alert_emails": [
      "geckoview-team@mozilla.com",
      "esawin@mozilla.com"
@@ -15342,7 +15342,7 @@
    "kind": "exponential",
    "high": 10000,
    "n_buckets": 50,
    "bug_numbers": [1499418],
    "bug_numbers": [1499418, 1584109],
    "description": "GeckoView: Time taken to initialize GeckoRuntime in ms."
  },
  "GV_STARTUP_MODULES_MS": {
+356 −5
Original line number Diff line number Diff line
@@ -8,22 +8,373 @@

$schema: moz://mozilla.org/schemas/glean/metrics/1-0-0

geckoview:
  page_load_time:
    type: timing_distribution
    time_unit: millisecond
    gecko_datapoint: GV_PAGE_LOAD_MS
    description: >
      The time taken to load a page. This includes all static contents, no dynamic content.
      Loading of about: pages is not counted.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1499418
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
    notification_emails:
      - geckoview-team@mozilla.com
      - esawin@mozilla.com
    expires: never

  startup_runtime:
    type: timing_distribution
    time_unit: millisecond
    gecko_datapoint: GV_STARTUP_RUNTIME_MS
    description: >
      The time taken to initialize GeckoRuntime.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1499418
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
    notification_emails:
      - geckoview-team@mozilla.com
      - esawin@mozilla.com
    expires: never

gfx:
  composite_time:
    type: timing_distribution
    time_unit: millisecond
    gecko_datapoint: COMPOSITE_TIME
    description: |
    description: >
      The time taken to composite a frame.
      On non-webrender this is the time taken in `CompositorBridgeParent::CompositeToTarget()`.
      On webrender, this is the time taken from the start of `WebRenderBridgeParent::CompositeToTarget()`, until the render thread has rendered the frame (in `RenderThread::HandleFrameOneDoc()`).
      On webrender, this is the time taken from the start of `WebRenderBridgeParent::CompositeToTarget()`,
      until the render thread has rendered the frame (in `RenderThread::HandleFrameOneDoc()`).
    bugs:
      - https://bugzilla.mozilla.org/1080160
      - https://bugzilla.mozilla.org/1529352
      - https://bugzilla.mozilla.org/1580129
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1080160
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1529352
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1580129
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1580129#c7
    notification_emails:
      - gfx-telemetry-alerts@mozilla.com
      - jnicol@mozilla.com
    expires: never

gfx.checkerboard:
  duration:
    type: timing_distribution
    time_unit: millisecond
    gecko_datapoint: CHECKERBOARD_DURATION
    description: >
      The duration of a checkerboard event.
      Checkerboarding is when painting has not kept up with asynchronous panning and
      zooming so the compositor has to display a "checkerboard pattern" (or in practice,
      the background color) rather than the actual page content.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1238040
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1539309
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
    notification_emails:
      - gfx-telemetry-alerts@mozilla.com
      - kgupta@mozilla.com
    expires: never

  peak_pixel_count:
    type: custom_distribution
    range_max: 66355200
    bucket_count: 50
    histogram_type: exponential
    unit: Pixels
    gecko_datapoint: CHECKERBOARD_PEAK
    description: >
      The peak number of CSS pixels that checkerboarded during a checkerboard event.
      The minimum value of the largest histogram bucket is the size of a 4k display with
      maximum APZ zooming.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1238040
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1539309
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
    notification_emails:
      - gfx-telemetry-alerts@mozilla.com
      - kgupta@mozilla.com
    expires: never

  potential_duration:
    type: timing_distribution
    time_unit: millisecond
    gecko_datapoint: CHECKERBOARD_POTENTIAL_DURATION
    description: >
      The total amount of time that we could reasonably be checkerboarding.
      This is the union of two possibly-intersecting sets of time periods:
      The first set is that in which checkerboarding was actually happening,
      since by definition it could potentially be happening.
      The second set is that in which the APZC is actively transforming content
      in the compositor, since it could potentially transform it so as to display
      checkerboarding to the user. Combined with other information, this allows us
      to meaningfully say how frequently users actually enncounters checkerboarding.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1238040
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1539309
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
    notification_emails:
      - gfx-telemetry-alerts@mozilla.com
      - kgupta@mozilla.com
    expires: never

  severity:
    type: custom_distribution
    range_max: 1073741824
    bucket_count: 50
    histogram_type: exponential
    unit: Opaque unit
    gecko_datapoint: CHECKERBOARD_SEVERITY
    description: >
      An opaque measurement of the severity of a checkerboard event.
      This doesn't have units, it's just useful for comparing two checkerboard
      events to see which one is worse, for some implementation-specific
      definition of "worse". The larger the value, the worse the checkerboarding.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1238040
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1539309
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
    notification_emails:
      - gfx-telemetry-alerts@mozilla.com
      - kgupta@mozilla.com
    expires: never

gfx.content:
  paint_time:
    type: timing_distribution
    time_unit: millisecond
    gecko_datapoint: CONTENT_PAINT_TIME
    description: >
      Time spent in the main-thread paint pipeline for content.
      For non-webrender, this includes display list building, layer building, and when OMTP
      is disabled, rasterization.
      For webrender, this includes display list building, and webrender display list building.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1309442
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1489524
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
    notification_emails:
      - gfx-telemetry-alerts@mozilla.com
      - mwoodrow@mozilla.com
      - dbolter@mozilla.com
    expires: never

  full_paint_time:
    type: timing_distribution
    time_unit: millisecond
    gecko_datapoint: CONTENT_FULL_PAINT_TIME
    description: >
      Time spent in the full paint pipeline for content until it's ready for composition.
      For non-webrender this includes `paint_time`, plus rasterization if OMTP is enabled.
      For webrender, this includes `paint_time`, plus scene building time.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1505858
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
    notification_emails:
      - gfx-telemetry-alerts@mozilla.com
      - jmuizelaar@mozilla.com
      - dbolter@mozilla.com
    expires: never

gfx.content.frame_time:
  from_paint:
    type: custom_distribution
    range_max: 5000
    bucket_count: 50
    histogram_type: exponential
    unit: Percentage of vsync interval
    gecko_datapoint: CONTENT_FRAME_TIME
    description: >
      The time, in percentage of a vsync interval, spent from beginning a paint in
      the content process until that frame is presented in the compositor.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1470528
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1509536
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
    notification_emails:
      - gfx-telemetry-alerts@mozilla.com
      - jnicol@mozilla.com
    expires: never

  from_vsync:
    type: custom_distribution
    range_min: 8
    range_max: 792
    bucket_count: 100
    histogram_type: linear
    unit: Percentage of vsync interval
    gecko_datapoint: CONTENT_FRAME_TIME_VSYNC
    description: >
      The time, in percentage of a vsync interval, spent from the vsync that started a
      paint in the content process until that frame is presented in the compositor.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1517355
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
    notification_emails:
      - gfx-telemetry-alerts@mozilla.com
      - mwoodrow@mozilla.com
    expires: never

  with_svg:
    type: custom_distribution
    range_max: 5000
    bucket_count: 50
    histogram_type: exponential
    unit: Percentage of vsync interval
    gecko_datapoint: CONTENT_FRAME_TIME_WITH_SVG
    description: >
      The time, in percentage of a vsync interval, spent from beginning a paint in the
      content process until that frame is presented in the compositor, for frames that
      contained an SVG to be drawn by webrender.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1483549
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1509536
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
    notification_emails:
      - gfx-telemetry-alerts@mozilla.com
      - mwoodrow@mozilla.com
    expires: never

  without_resource_upload:
    type: custom_distribution
    range_max: 5000
    bucket_count: 50
    histogram_type: exponential
    unit: Percentage of vsync interval
    gecko_datapoint: CONTENT_FRAME_TIME_WITHOUT_RESOURCE_UPLOAD
    description: >
      The time, in percentage of a vsync interval, spent from beginning a paint in the
      content process until that frame is presented in the compositor by webrender,
      excluding time spent uploading resources.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1503405
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
    notification_emails:
      - gfx-telemetry-alerts@mozilla.com
      - mwoodrow@mozilla.com
    expires: never

  without_upload:
    type: custom_distribution
    range_max: 5000
    bucket_count: 50
    histogram_type: exponential
    unit: Percentage of vsync interval
    gecko_datapoint: CONTENT_FRAME_TIME_WITHOUT_UPLOAD
    description: >
      The time, in percentage of a vsync interval, spent from beginning a paint in the
      content process until that frame is presented in the compositor by webrender,
      excluding time spent uploading any content.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1503405
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
    notification_emails:
      - gfx-telemetry-alerts@mozilla.com
      - mwoodrow@mozilla.com
    expires: never

  reason:
    type: labeled_counter
    labels:
      - on_time
      - no_vsync
      - missed_composite
      - slow_composite
      - missed_composite_mid
      - missed_composite_long
      - missed_composite_low
      - no_vsync_no_id
    gecko_datapoint: CONTENT_FRAME_TIME_REASON
    description: >
      The reason that `gfx.content.frame_time.from_paint` recorded a slow (>200ms) result, if any.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1510853
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
    notification_emails:
      - gfx-telemetry-alerts@mozilla.com
      - mwoodrow@mozilla.com
    expires: never

gfx.webrender:
  scenebuild_time:
    type: timing_distribution
    time_unit: millisecond
    gecko_datapoint: WR_SCENEBUILD_TIME
    description: >
      The time taken to build a webrender scene.
      This occurs each time webrender receives a new display list.
      This additionally includes blob rasterization time.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
    notification_emails:
      - gfx-telemetry-alerts@mozilla.com
      - kgupta@mozilla.com
    expires: never

  sceneswap_time:
    type: timing_distribution
    time_unit: millisecond
    gecko_datapoint: WR_SCENESWAP_TIME
    description: >
      The time taken to do a webrender scene swap. This is book-keeping that APZ must
      perform once webrender has built a new scene.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
    notification_emails:
      - gfx-telemetry-alerts@mozilla.com
      - kgupta@mozilla.com
    expires: never

  render_time:
    type: timing_distribution
    time_unit: millisecond
    gecko_datapoint: WR_FRAMEBUILD_TIME
    description: >
      The time taken to build a webrender frame.
      This involves calculating the visibility of primitives, requesting resources,
      and building the render passes which will be used to render the frame.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1470901
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1584109#c1
    notification_emails:
      - gfx-telemetry-alerts@mozilla.com
      - kgupta@mozilla.com
    expires: never