зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1337073 - Improve the precision of the IPC_SYNC_LATENCY_MS probe and rename it to IPC_SYNC_MAIN_LATENCY_MS, r=billm
MozReview-Commit-ID: 7JB7h06wCzu
This commit is contained in:
Родитель
93bfac3b3c
Коммит
0429f84e21
|
@ -1279,9 +1279,9 @@ MessageChannel::Send(Message* aMsg, Message* aReply)
|
|||
nsDependentCString(msgName), aReply->size());
|
||||
}
|
||||
|
||||
// NOTE: Only collect IPC_SYNC_LATENCY_MS on the main thread (bug 1343729)
|
||||
// NOTE: Only collect IPC_SYNC_MAIN_LATENCY_MS on the main thread (bug 1343729)
|
||||
if (NS_IsMainThread() && latencyMs >= kMinTelemetrySyncIPCLatencyMs) {
|
||||
Telemetry::Accumulate(Telemetry::IPC_SYNC_LATENCY_MS,
|
||||
Telemetry::Accumulate(Telemetry::IPC_SYNC_MAIN_LATENCY_MS,
|
||||
nsDependentCString(msgName), latencyMs);
|
||||
}
|
||||
return true;
|
||||
|
|
|
@ -10628,15 +10628,16 @@
|
|||
"keyed": true,
|
||||
"description": "Measures the size of IPC messages by message name"
|
||||
},
|
||||
"IPC_SYNC_LATENCY_MS": {
|
||||
"IPC_SYNC_MAIN_LATENCY_MS": {
|
||||
"alert_emails": ["cpearce@mozilla.com"],
|
||||
"bug_numbers": [1333489],
|
||||
"expires_in_version": "60",
|
||||
"kind": "exponential",
|
||||
"high": 2000,
|
||||
"n_buckets": 10,
|
||||
"low": 32,
|
||||
"high": 750,
|
||||
"n_buckets": 40,
|
||||
"keyed": true,
|
||||
"description": "Measures the number of milliseconds we spend waiting for sync IPC messages to finish sending, keyed by message name. Note: only messages that wait for more than 500 microseconds are included in this probe."
|
||||
"description": "Measures the number of milliseconds we spend waiting for sync IPC messages to finish sending, keyed by message name. Note: only messages that wait for more than 500 microseconds and block the main thread are included in this probe."
|
||||
},
|
||||
"MESSAGE_MANAGER_MESSAGE_SIZE2": {
|
||||
"alert_emails": ["wmccloskey@mozilla.com","amccreight@mozilla.com"],
|
||||
|
|
Загрузка…
Ссылка в новой задаче