CSS Performance Profiler?

前端 未结 6 1469
-上瘾入骨i
-上瘾入骨i 2021-01-29 22:57

I\'m currently working on a site, and somewhere in my mass of stylesheets, something is killing performance in IE. Are there any good CSS profilers out there? I\'d like a tool

6条回答
  •  温柔的废话
    2021-01-29 23:29

    Hmm, never heard of such a tool.

    If you find none, things to look out for manually will include

    • Any filter statements (the classic alpha=opacity and others - IE has a number of very advanced graphical filters that are extremely expensive)

    • Huge elements (like thousands of pixels large)

    • Huge background images - maybe remove them all for a moment?

    I would strongly suspect the first point - alpha transparencies can be a terrible rendering bottleneck, especially on older systems.

提交回复
热议问题