Closed Bug 1307224 Opened 9 years ago Closed 7 years ago

[meta] Maximize pseudoframe+category coverage

Categories

(Core :: Gecko Profiler, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1329161

People

(Reporter: fitzgen, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: meta)

Attachments

(1 file)

To make bug 1307221 useful, we need to maximize our pseudoframe w/ category coverage. Should be fairly simple to create a script (similar to memshrink's DMD) that gives us all the sampled stacks from a profile that don't have a pseudoframe and category, and this should tell us where we need to start adding more. Making this a meta bug for writing such a script and for adding more psuedoframe coverage.
See Also: → 1307221
I don't expect this to be useful, but I'm attaching the script I've been playing with. It takes in a profile saved with the cleopatra UI and spits out a categorization (based on the frames' string descriptions, some pseudostack and some symbolicated), then spews out uncategorized stacks for me to eyeball (to find more things to add). It suggests a couple of potential wrinkles: - some things are harder to cleanly categorize. Normally there's a distinction between layout and painting, but some things are a bit of a combination. ("payout"!) - some hierarchy would be nice (but not necessary!). GC could be broken down into major vs minor. For me, the main value is being able to triage the bug to the right group of people, so Scripting vs Layout is more important than GC vs Scripting is more important than minor GC vs major GC. But once you know the main categorization, the very next thing will be to figure out the finer breakdown, so having it accessible is a nice to have. (I suppose content vs chrome is a higher-level but orthogonal partitioning.) - waiting is tricky. It'd be nice to blame that on what is being waited for, which may or may not be inferrable from the stack of the waiter. Especially since you might want the *slowest* thing being waited on.
Blocks: 1329161
The meta keyword is there, the bug doesn't depend on other bugs and there is no activity for 12 months. :gregtatum, maybe it's time to close this bug?
Flags: needinfo?(gtatum)
Summary: Maximize pseudoframe+category coverage → [meta] Maximize pseudoframe+category coverage
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(gtatum)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: