Closed Bug 1393581 Opened 7 years ago Closed 7 years ago

All IdleRunnables have the same runnable name

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: nika, Assigned: nika)

References

Details

Attachments

(1 file)

One of the highest ranked runnable types for >2s hangs on the BHR dashboard right now is `IdleRunnable`, which is unfortunate, as it's a very large group of different runnables.

I think it would be nice if `IdleRunnable` accepted a name argument in its constructor, and required its subclasses to provide more useful names.
How reasonable would this be to do farre?
Flags: needinfo?(afarre)
This should make it easier to tell these runnables apart when they appear in BHR - as currently they all appear as a single bucket.
Attachment #8900928 - Flags: review?(bugs)
(In reply to Michael Layzell [:mystor] from comment #1)
> How reasonable would this be to do farre?

I like this a lot!
Flags: needinfo?(afarre)
Attachment #8900928 - Flags: review?(bugs) → review+
Assignee: nobody → michael
Pushed by michael@thelayzells.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/19c5a66904af
Name all IdleTaskRunner runnables, r=smaug
https://hg.mozilla.org/mozilla-central/rev/19c5a66904af
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: