Closed Bug 1419734 Opened 7 years ago Closed 7 years ago

Useless tab stats computation in gDevToolsBrowser

Categories

(DevTools :: Framework, enhancement)

enhancement
Not set
normal

Tracking

(firefox59 fixed)

RESOLVED FIXED
Firefox 59
Tracking Status
firefox59 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We used to compute some statistics about tabs being opened/closed for telemetry in gDevtoolsBrowser.
But it looks like we removed the telemetry record without removing the code that compute the statistics numbers:
https://searchfox.org/mozilla-central/rev/797c93d81fe446f78babf20894f0729f15f71ee6/devtools/client/framework/devtools-browser.js#722-741
https://searchfox.org/mozilla-central/rev/797c93d81fe446f78babf20894f0729f15f71ee6/devtools/client/framework/devtools-browser.js#479-482

We may save some milliseconds by removing that code.
Assignee: nobody → poirot.alex
Attachment #8930983 - Flags: review?(jdescottes)
Comment on attachment 8930983 [details]
Bug 1419734 - Remove tab statistics leftovers.

https://reviewboard.mozilla.org/r/202072/#review207752

Looks good, thanks for the cleanup!

::: commit-message-5378d:1
(Diff revision 1)
> +Bug 1419734 - Remove tab statistics lefovers. r=jdescottes

nit: lefovers -> leftovers
Attachment #8930983 - Flags: review?(jdescottes) → review+
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b7a987404da5
Remove tab statistics leftovers. r=jdescottes
https://hg.mozilla.org/mozilla-central/rev/b7a987404da5
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 59
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: