StyleBench is a browser benchmark that measures the performance of the style resolution mechanism.

Your browser window is too small. For most accurate results, please make the view port size at least 850px by 650px.
It's currently .

About StyleBench

Runs / Minute

Detailed Results

About StyleBench

About StyleBench

StyleBench tests performance of CSS style resolution and style invalidation. Each test run creates a large document and a large stylesheet using varying settings. It then applies a series of mutations to the document and measures the time to update the rendering. The resulting layout is simple, most of the pressure is on selector matching.

StyleBench uses Speedometer framework for UI and measurements.

Access via 'file:' protocol

To run locally, launch a web server under PerformanceTests directory with 'python -m SimpleHTTPServer 8001' and access via http://localhost:8001/StyleBench.

Individual tests (without measurement) can also be run locally by opening PerformanceTests/StyleBench/resources/style-bench.html