зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1438811: Remove the remaining bits of the traversal telemetry stuff. r=manishearth
MozReview-Commit-ID: 2dA5usbGQRt --HG-- extra : rebase_source : 47cc26f581e6b774de3ac27ef47d749ad1944dfe
This commit is contained in:
Родитель
b24d9c6370
Коммит
ba08cbdbdd
|
@ -129,29 +129,6 @@ AssertIsMainThreadOrServoLangFontPrefsCacheLocked()
|
|||
}
|
||||
|
||||
|
||||
void
|
||||
Gecko_RecordTraversalStatistics(uint32_t total, uint32_t parallel,
|
||||
uint32_t total_t, uint32_t parallel_t,
|
||||
uint32_t total_s, uint32_t parallel_s)
|
||||
{
|
||||
|
||||
#ifdef NIGHTLY_BUILD
|
||||
// we ignore cases where a page just didn't restyle a lot
|
||||
if (total > 30) {
|
||||
uint32_t percent = parallel * 100 / total;
|
||||
Telemetry::Accumulate(Telemetry::STYLO_PARALLEL_RESTYLE_FRACTION, percent);
|
||||
}
|
||||
if (total_t > 0) {
|
||||
uint32_t percent = parallel_t * 100 / total_t;
|
||||
Telemetry::Accumulate(Telemetry::STYLO_PARALLEL_RESTYLE_FRACTION_WEIGHTED_TRAVERSED, percent);
|
||||
}
|
||||
if (total_s > 0) {
|
||||
uint32_t percent = parallel_s * 100 / total_s;
|
||||
Telemetry::Accumulate(Telemetry::STYLO_PARALLEL_RESTYLE_FRACTION_WEIGHTED_STYLED, percent);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
* Does this child count as significant for selector matching?
|
||||
*
|
||||
|
|
|
@ -152,10 +152,6 @@ struct MediumFeaturesChangedResult {
|
|||
bool mUsesViewportUnits;
|
||||
};
|
||||
|
||||
// DOM Traversal.
|
||||
void Gecko_RecordTraversalStatistics(uint32_t total, uint32_t parallel,
|
||||
uint32_t total_t, uint32_t parallel_t,
|
||||
uint32_t total_s, uint32_t parallel_s);
|
||||
bool Gecko_IsSignificantChild(RawGeckoNodeBorrowed node,
|
||||
bool text_is_significant,
|
||||
bool whitespace_is_significant);
|
||||
|
|
|
@ -13924,36 +13924,6 @@
|
|||
"description": "Amount of time in milliseconds the main thread spends waiting for the paint thread to complete, if the time was greater than 200us.",
|
||||
"bug_numbers": [1386968]
|
||||
},
|
||||
"STYLO_PARALLEL_RESTYLE_FRACTION": {
|
||||
"record_in_processes": ["content"],
|
||||
"alert_emails": ["manish@mozilla.com"],
|
||||
"expires_in_version": "60",
|
||||
"kind": "linear",
|
||||
"high": 100,
|
||||
"n_buckets": 50,
|
||||
"description": "Percentage of restyles on a single page that were parallel",
|
||||
"bug_numbers": [1421195]
|
||||
},
|
||||
"STYLO_PARALLEL_RESTYLE_FRACTION_WEIGHTED_TRAVERSED": {
|
||||
"record_in_processes": ["content"],
|
||||
"alert_emails": ["manish@mozilla.com"],
|
||||
"expires_in_version": "60",
|
||||
"kind": "linear",
|
||||
"high": 100,
|
||||
"n_buckets": 50,
|
||||
"description": "Percentage of restyles on a single page that were parallel, weighted by elements traversed",
|
||||
"bug_numbers": [1421195]
|
||||
},
|
||||
"STYLO_PARALLEL_RESTYLE_FRACTION_WEIGHTED_STYLED": {
|
||||
"record_in_processes": ["content"],
|
||||
"alert_emails": ["manish@mozilla.com"],
|
||||
"expires_in_version": "60",
|
||||
"kind": "linear",
|
||||
"high": 100,
|
||||
"n_buckets": 50,
|
||||
"description": "Percentage of restyles on a single page that were parallel, weighted by elements styled",
|
||||
"bug_numbers": [1421195]
|
||||
},
|
||||
"PREFERENCES_FILE_LOAD_TIME_US": {
|
||||
"record_in_processes": ["main", "content"],
|
||||
"expires_in_version": "62",
|
||||
|
|
Загрузка…
Ссылка в новой задаче