Skip to content

Commit

Permalink
Bug 1751693: Add telemetry probe to measure glyph rasterization time …
Browse files Browse the repository at this point in the history
…and the required plumbing for WR. r=jrmuizel,nical

Differential Revision: https://phabricator.services.mozilla.com/D140681
  • Loading branch information
Bas-moz committed Apr 22, 2022
1 parent f46249b commit aeb2117
Show file tree
Hide file tree
Showing 12 changed files with 408 additions and 15 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ web-sys = { path = "build/rust/dummy-web/web-sys" }

# Overrides to allow easier use of common internal crates.
moz_asserts = { path = "mozglue/static/rust/moz_asserts" }
fog = { path = "toolkit/components/glean/api" }

# Other overrides
async-task = { git = "https://github.com/smol-rs/async-task", rev="f6488e35beccb26eb6e85847b02aa78a42cd3d0e" }
Expand Down
17 changes: 17 additions & 0 deletions gfx/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,20 @@ paint:
- [email protected]
expires: never
telemetry_mirror: PAINT_BUILD_DISPLAYLIST_TIME

wr:
rasterize_glyphs_time:
type: timing_distribution
description: >
The time to rasterize glyphs for consumption by WebRender.
time_unit: microsecond
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1728423
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1728423
data_sensitivity:
- technical
notification_emails:
- [email protected]
expires: never
telemetry_mirror: WR_RASTERIZE_GLYPHS_TIME
Loading

0 comments on commit aeb2117

Please sign in to comment.