зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1376634 - Fix telemetry reports to report cacheable scripts instead of only small scripts. r=mrbkap
This commit is contained in:
Родитель
9514033aec
Коммит
09b27eb5ff
|
@ -2161,7 +2161,7 @@ ScriptLoader::EvaluateScript(ScriptLoadRequest* aRequest)
|
|||
TimeStamp start;
|
||||
if (Telemetry::CanRecordExtended()) {
|
||||
// Only record telemetry for scripts which are above the threshold.
|
||||
if (aRequest->mCacheInfo && aRequest->mScriptText.length() < 1024) {
|
||||
if (aRequest->mCacheInfo && aRequest->mScriptText.length() >= 1024) {
|
||||
start = TimeStamp::Now();
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче