提交 86c0ba44 编写于 作者: M Mike Conley

Bug 1301104 - Add tab spinner interstitial probe with a higher ceiling to...

Bug 1301104 - Add tab spinner interstitial probe with a higher ceiling to better measure degenerate cases on a CLOSED TREE. r=billm,chutten,liuche, a=lizzard

MozReview-Commit-ID: 2XzfXDqoB

--HG--
extra : source : c8096f896f7cf570dd77b503861650847337febc
extra : intermediate-source : 3cbdde40fc56b4eb663ec6a2ac434da523cbef8a
上级 0ccf31b5
......@@ -3783,6 +3783,9 @@
spinnerDisplayed: function () {
this.assert(!this.spinnerTab);
TelemetryStopwatch.start("FX_TAB_SWITCH_SPINNER_VISIBLE_MS", window);
// We have a second, similar probe for capturing recordings of
// when the spinner is displayed for very long periods.
TelemetryStopwatch.start("FX_TAB_SWITCH_SPINNER_VISIBLE_LONG_MS", window);
this.addMarker("AsyncTabSwitch:SpinnerShown");
},
......@@ -3791,6 +3794,7 @@
this.log("DEBUG: spinner time = " +
TelemetryStopwatch.timeElapsed("FX_TAB_SWITCH_SPINNER_VISIBLE_MS", window));
TelemetryStopwatch.finish("FX_TAB_SWITCH_SPINNER_VISIBLE_MS", window);
TelemetryStopwatch.finish("FX_TAB_SWITCH_SPINNER_VISIBLE_LONG_MS", window);
this.addMarker("AsyncTabSwitch:SpinnerHidden");
// we do not get a onPaint after displaying the spinner
this.maybeFinishTabSwitch();
......
......@@ -4346,6 +4346,16 @@
"n_buckets": 20,
"description": "Firefox: If the spinner interstitial displays during tab switching, records the time in ms the graphic is visible"
},
"FX_TAB_SWITCH_SPINNER_VISIBLE_LONG_MS": {
"expires_in_version": "54",
"kind": "exponential",
"low": 1000,
"high": 64000,
"n_buckets": 7,
"bug_numbers": [1301104],
"alert_emails": ["mconley@mozilla.com"],
"description": "Firefox: If the spinner interstitial displays during tab switching, records the time in ms the graphic is visible. This probe is similar to FX_TAB_SWITCH_SPINNER_VISIBLE_MS, but is for truly degenerate cases."
},
"FX_TAB_CLICK_MS": {
"expires_in_version": "default",
"kind": "exponential",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册