Closed Bug 1231968 Opened 9 years ago Closed 8 years ago

Add BHR pseudo-stack for open/close tabs

Categories

(Toolkit :: Telemetry, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: chutten, Assigned: chutten)

References

Details

Attachments

(2 files)

Opening and closing tabs can really jank (for instance, hold Ctrl+T for a while to open a couple hundred tabs (observe jank) then close all other tabs (observe jank)).

We should have BHR coverage.
Assignee: nobody → chutten
Some strings may not survive long enough for the sampler to use them. Plumb the "copy the string" parameter through the RAII so that it can take care of it.
Attachment #8715797 - Flags: review?(bgirard)
Construct a JavaScript API that will act like the PROFILER_LABEL macro. It will annotate the stack and then call the provided function.

This will help us identify slow JS code in BHR pseudo-stacks.
Attachment #8715798 - Flags: review?(bgirard)
Attachment #8715797 - Flags: review?(bgirard) → review+
Comment on attachment 8715798 [details] [diff] [review]
0002-bug-1231968-Expose-PROFILER_LABEL-to-JS.patch

Review of attachment 8715798 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good to me.
Attachment #8715798 - Flags: review?(bgirard) → review+
BHR already tracks JS frames using file:line information. Adding more code to do something that's already done is probably not helpful, so I'm going to drop this.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: