Bug 1956726 - fix the glean migration of the FX_SESSION_RESTORE_MANUAL_RESTORE_DURATION_UNTIL_EAGER_TABS_RESTORED_MS histogram, r=chutten.

Differential Revision: https://phabricator.services.mozilla.com/D244738
This commit is contained in:
Florian Quèze
2025-04-10 20:22:23 +00:00
parent 3eff986d65
commit 5a2e83431d

View File

@@ -109,11 +109,9 @@ export var StartupPerformance = {
delta
);
} else {
Services.telemetry
.getHistogramById(
"FX_SESSION_RESTORE_MANUAL_RESTORE_DURATION_UNTIL_EAGER_TABS_RESTORED_MS"
)
.add(delta);
Glean.sessionRestore.manualRestoreDurationUntilEagerTabsRestored.accumulateSingleSample(
delta
);
}
Glean.sessionRestore.numberOfEagerTabsRestored.accumulateSingleSample(
this._totalNumberOfEagerTabs