Add CSS selector profiler

REOPENED
Unassigned

Status

()

Firefox
Developer Tools: Performance Tools (Profiler/Timeline)
REOPENED
6 years ago
11 months ago

People

(Reporter: Juriy "kangax" Zaytsev, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

6 years ago
Something similar to http://my.opera.com/dragonfly/blog/style-profiler-preview from Opera or https://bugs.webkit.org/show_bug.cgi?id=74004 from WebKit.

AFAIK, there's currently no way to see how much time is spent on evaluating certain CSS rule, and how much time is spent on document reflow and/or repaint.
(Reporter)

Updated

6 years ago
OS: Mac OS X → All
Hardware: x86 → All
Created attachment 584412 [details]
Screenshot of WebKit's CSS selctor profiler

A generic profiler would be great, but a CSS selector profiler would also be very useful.

Comment 2

6 years ago
This needs a feature page.
kdangoor, would you like to do the honors or should I?

Updated

4 years ago
Flags: needinfo?(dangoor)
I don't believe anyone uses feature pages in Mozilla any longer. I suppose mockups, user stories and the like are still needed, but that's a task for whoever starts working on this issue.
Flags: needinfo?(dangoor)
Created attachment 8404807 [details]
Screenshot of Opera's old Style Profiler

Opera's old style profiler
 I'm going to work on this in bug 975522.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 975522
Is bug 975522 really a duplicate of this?  That one seems to just cover "was a selector used or not", while this is about time spent per selector.  But maybe you plan to add more than what the description and existing patch over there conveys...? :)
Flags: needinfo?(jwalker)
(In reply to J. Ryan Stinnett [:jryans] from comment #7)
> Is bug 975522 really a duplicate of this?  That one seems to just cover "was
> a selector used or not", while this is about time spent per selector.  But
> maybe you plan to add more than what the description and existing patch over
> there conveys...? :)

No, thanks - it's not a dupe of this. I'm fairly sure, bug 834865 is what I was thinking of.
Status: RESOLVED → REOPENED
Flags: needinfo?(jwalker)
Resolution: DUPLICATE → ---

Updated

a year ago
Component: Developer Tools → Developer Tools: Performance Tools (Profiler/Timeline)
Version: 12 Branch → Trunk
You need to log in before you can comment on or make changes to this bug.