Bramus

Benchmarking the performance of CSS @property

submited by
Style Pass
2024-10-03 18:30:04

Bramus X GitHub Mastodon Homepage

When starting to use a new CSS feature it's important to understand its impact on the performance of your websites, whether positive or negative. With @property now in Baseline this post explores its performance impact, and things you can do to help prevent negative impact.

To benchmark the performance of CSS we built the "CSS Selector Benchmark" test suite. It is powered by Chromium's PerfTestRunner and benchmarks the performance impact of CSS. This PerfTestRunner is what Blink–Chromium's underlying rendering engine–uses for its internal performance tests.

Leave a Comment