Last Comment Bug 713031 - Add CSS selector profiler
: Add CSS selector profiler
Status: REOPENED
:
Product: Firefox
Classification: Client Software
Component: Developer Tools: Performance Tools (Profiler/Timeline) (show other bugs)
: Trunk
: All All
: -- normal with 22 votes (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-22 10:51 PST by Juriy "kangax" Zaytsev
Modified: 2016-07-23 13:03 PDT (History)
31 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Screenshot of WebKit's CSS selctor profiler (91.37 KB, image/png)
2011-12-27 04:14 PST, Michael Ratcliffe [:miker] [:mratcliffe]
no flags Details
Screenshot of Opera's old Style Profiler (34.98 KB, image/png)
2014-04-10 09:50 PDT, Angelina Fabbro (:angelina)
no flags Details

Description Juriy "kangax" Zaytsev 2011-12-22 10:51:21 PST
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.
Comment 1 Michael Ratcliffe [:miker] [:mratcliffe] 2011-12-27 04:14:31 PST
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 Paul Rouget [:paul] 2012-01-03 03:51:01 PST
This needs a feature page.
Comment 3 Michael Ratcliffe [:miker] [:mratcliffe] 2012-01-03 04:33:08 PST
kdangoor, would you like to do the honors or should I?
Comment 4 Panos Astithas [:past] 2013-07-17 05:48:55 PDT
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.
Comment 5 Angelina Fabbro (:angelina) 2014-04-10 09:50:56 PDT
Created attachment 8404807 [details]
Screenshot of Opera's old Style Profiler

Opera's old style profiler
Comment 6 Joe Walker [:jwalker] (needinfo me or ping on irc) 2014-04-14 04:14:25 PDT
 I'm going to work on this in bug 975522.

*** This bug has been marked as a duplicate of bug 975522 ***
Comment 7 J. Ryan Stinnett [:jryans] (use ni?) 2014-04-15 21:31:48 PDT
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...? :)
Comment 8 Joe Walker [:jwalker] (needinfo me or ping on irc) 2014-04-16 00:49:17 PDT
(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.

Note You need to log in before you can comment on or make changes to this bug.