X
X
Xrist1An2014-03-12 04:20:15
css
Xrist1An, 2014-03-12 04:20:15

Do you know a utility for analyzing the processing time of individual CSS properties?

How to determine which lines of CSS code are taking the most time to load a page? I would like to find a utility that would show me that it background-image: url('image.jpg');took so many seconds to process, for example, and based on this I would find problem areas in optimization.
Under certain conditions, page scrolling slows down a lot (jerky and slow scrolling). I'm pretty sure it's the CSS, but what exactly is causing this problem I can't figure out.
Thank you.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
X
xaja, 2014-03-12
@Xrist1An

utility for time analysis. Ugh. Yes, while writing this question, everything could already be found out. hands, in a warm lamp way. I tell you:
1. delete half of the .css file by eye. scroll stopped slowing down? so the problem is in that half of the .css
2. restore the css (ctrl+z)
3. delete half of that half.....
4. ???
5. profit! in just a minute, find the line that ruins everything.
6. then delete half a line...

I
Igor Vorotnev, 2014-03-12
@HeadOnFire

There is also such a thing as repaint.
Read:
www.html5rocks.com/en/tutorials/speed/scrolling
www.html5rocks.com/en/tutorials/speed/unnecessary-...
And here is an interesting fix:
www.thecssninja.com/javascript/pointer-events-60fps

E
Eugene, 2014-03-12
@cyber-jet

There is no such thing for individual lines, because processing any CSS file of reasonable sizes takes milliseconds. You can analyze the page load speed as a whole using the Developer Tool of the Chrome browser, the Developer Tool tab:
add-remove-columns.png

K
Krickt, 2014-03-12
@shiza36

Under certain conditions, page scrolling slows down a lot (jerky and slow scrolling). I'm pretty sure it's the CSS, but what exactly is causing this problem I can't figure out.

Doesn't it bother you that the browser renders the page 1 time, and not during scrolling? What does CSS have to do with it?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question