Looks like Speed Tracer can show you the time spent on CSS style recalculation. So I will have an experiment and see if there is much to gain - https://developers.google.com/web-toolkit/speedtracer/
On Saturday, September 22, 2012 7:17:10 AM UTC+1, Sergio Cambra wrote: > > On Viernes, 21 de septiembre de 2012 13:42:23 ruinen escribió: > > I ran Google's PageSpeed against my site using ActiveScaffold. It > reported > > 45 very inefficient rules, 47 inefficient rules, and 6 potentially > > inefficient uses of :hover. For example: > > > > > > .active-scaffold-header div.actions div.action_group li a Tag key > with 4 > > descendant selectors and Class overly qualified with tag and Class > overly > > qualified with tag I am a novice when it comes to CSS performance, but I > > wonder if there are worthwhile improvements to be made? If so, I'd be > happy > > to investigate fixing this up. Anybody got any thoughts? > > Most of the tag.class could be only .class, maybe some selector need the > tag.class > > In this case, probably div could be removed, and li probably too: > .active-scaffold-header .actions .action_group a > > And maybe .actions could be removed too I'm not sure. > > However, I'm not sure if performance is really bad due to many selectors, > I > don't know how to measure it. If you want, try to fix it and test you get > the > same results, and send pull requests, but please, don't make all changes > in > one commit, I prefer small commits to test it. > > If you need some help, ask me > > -- > You received this message because you are subscribed to the Google Groups > "ActiveScaffold : Ruby on Rails plugin" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/activescaffold/-/ifwmfGZTpgYJ. > To post to this group, send email to > [email protected]<javascript:>. > > To unsubscribe from this group, send email to > [email protected] <javascript:>. > For more options, visit this group at > http://groups.google.com/group/activescaffold?hl=en. > > > > > -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To view this discussion on the web visit https://groups.google.com/d/msg/activescaffold/-/vX9fyxEBjKcJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en.
