News for hackers. Stuff that matters.
Re:Visualizing Layers in Web Inspector by Epskampie on Friday April 27, 2018 @04:55PM (#16944232)
Pretty cool, but it seems like this is is getting quite far from any standards-based measure. The way another browser such as firefox renders html might be completely different, so optimizing using this tool could possibly do nothing in other browsers, or even worsen performance.
Re:Visualizing Layers in Web Inspector by bgirard on Friday April 27, 2018 @05:27PM (#16944478)
There are examples where at it may make things worse, sure. But in general if one browser is not able to understand how to layerize your page, there's a good chance other browsers will struggle as well.

Some operations are just fundamentally more difficult for any modern engine to handles such as animated properties in a container that has group opacity or transparent layers with subpixel anti-aliases text.

A bit of careful tweaking can really improve the performance of a page. The problem is its a lot of domain specific knowledge.

Re:Visualizing Layers in Web Inspector by ThurmaUman on Friday April 27, 2018 @07:23PM (#16945213)
> so optimizing using this tool

This is a debugging tool. I'm not sure how you optimize for a visualization of how your layout rendered.

Re:Visualizing Layers in Web Inspector by contoraria on Saturday April 28, 2018 @04:16AM (#16946656)
if certain layers were rendered before the rest, knowing which is which could help optimization.