зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1506537 - Part 2: Add telemetry probe for keypress presentation latency. r=smaug
--HG-- extra : rebase_source : a2b95bb0dc8d10527dbb9569a7c02b163351aa1a
This commit is contained in:
Родитель
f532743510
Коммит
bcd2741591
|
@ -167,6 +167,12 @@ void LayerManager::PayloadPresented() {
|
|||
profiler_add_marker(marker.get());
|
||||
}
|
||||
#endif
|
||||
|
||||
if (payload.mType == CompositionPayloadType::eKeyPress) {
|
||||
Telemetry::AccumulateTimeDelta(
|
||||
mozilla::Telemetry::KEYPRESS_PRESENT_LATENCY, payload.mTimeStamp,
|
||||
presented);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1438,6 +1438,18 @@
|
|||
"description": "Track how many image requests required event dispatching because we were unable to predict the correct scheduler group: true if the request required dispatching. See image/imgRequestProxy.cpp for details.",
|
||||
"bug_numbers": [1359833]
|
||||
},
|
||||
"KEYPRESS_PRESENT_LATENCY": {
|
||||
"record_in_processes": [ "all" ],
|
||||
"alert_emails": [ "perfteam@mozilla.com", "vchin@mozilla.com" ],
|
||||
"expires_in_version": "never",
|
||||
"kind": "exponential",
|
||||
"releaseChannelCollection": "opt-out",
|
||||
"low": 1,
|
||||
"high": 200000,
|
||||
"n_buckets": 50,
|
||||
"description": "Time between receiving a keypress event on the event loop and compositing its result onto the screen (ms)",
|
||||
"bug_numbers": [ 1506537 ]
|
||||
},
|
||||
"CANVAS_2D_USED": {
|
||||
"record_in_processes": ["main", "content"],
|
||||
"expires_in_version": "never",
|
||||
|
|
Загрузка…
Ссылка в новой задаче