mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 08:13:35 +00:00
Bug 1516061. Split MissedComposite telemetry. r=mattwoodrow
We're seeing a substantial amount of paint misses caused by MissedComposite. This splits MissedComposite into subcategories based on the full paint time. Differential Revision: https://phabricator.services.mozilla.com/D15241 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
8da65ea65c
commit
2c917c374f
@ -2001,9 +2001,21 @@ TransactionId WebRenderBridgeParent::FlushTransactionIdsForEpoch(
|
||||
Telemetry::AccumulateCategorical(
|
||||
LABELS_CONTENT_FRAME_TIME_REASON::NoVsync);
|
||||
} else if (aCompositeStartId - transactionId.mVsyncId > 1) {
|
||||
auto fullPaintTime =
|
||||
transactionId.mSceneBuiltTime
|
||||
? transactionId.mSceneBuiltTime - transactionId.mTxnStartTime
|
||||
: TimeDuration::FromMilliseconds(0);
|
||||
// Composite started late (and maybe took too long as well)
|
||||
Telemetry::AccumulateCategorical(
|
||||
LABELS_CONTENT_FRAME_TIME_REASON::MissedComposite);
|
||||
if (fullPaintTime >= TimeDuration::FromMilliseconds(20)) {
|
||||
Telemetry::AccumulateCategorical(
|
||||
LABELS_CONTENT_FRAME_TIME_REASON::MissedCompositeLong);
|
||||
} else if (fullPaintTime >= TimeDuration::FromMilliseconds(10)) {
|
||||
Telemetry::AccumulateCategorical(
|
||||
LABELS_CONTENT_FRAME_TIME_REASON::MissedCompositeMid);
|
||||
} else {
|
||||
Telemetry::AccumulateCategorical(
|
||||
LABELS_CONTENT_FRAME_TIME_REASON::MissedComposite);
|
||||
}
|
||||
} else {
|
||||
// Composite start on time, but must have taken too long.
|
||||
Telemetry::AccumulateCategorical(
|
||||
|
@ -13222,7 +13222,7 @@
|
||||
"expires_in_version": "73",
|
||||
"kind": "categorical",
|
||||
"description": "The reason that CONTENT_FRAME_TIME recorded a slow (>200) result, if any.",
|
||||
"labels": ["OnTime", "NoVsync", "MissedComposite", "SlowComposite"]
|
||||
"labels": ["OnTime", "NoVsync", "MissedComposite", "SlowComposite", "MissedCompositeMid", "MissedCompositeLong"]
|
||||
},
|
||||
"CONTENT_LARGE_PAINT_PHASE_WEIGHT": {
|
||||
"record_in_processes": ["main", "content"],
|
||||
|
Loading…
Reference in New Issue
Block a user