<p>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.</p>
<p>StyleBench uses Speedometer framework for UI and measurements.</p>
</section>
<sectionid="local-message">
<h2>Access via 'file:' protocol</h1>
<p>To run locally, launch a web server under PerformanceTests directory with 'python -m SimpleHTTPServer 8001' and access via <ahref="http://localhost:8001/StyleBench">http://localhost:8001/StyleBench</a>.
</p>
<p>
Individual tests (without measurement) can also be run locally by opening <ahref="resources/style-bench.html">PerformanceTests/StyleBench/resources/style-bench.html</a>