MohammadShehadeh / css-containment-benchmark

CSS containment benchmark

Home Page:https://nolanlawson.github.io/css-containment-benchmark

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

css-containment-benchmark

CSS containment benchmark, forked from the original by Manuel Rego Casasnovas. Compares contain: none, contain: content, and contain: strict.

To manually run the benchmark, use URL params to change the values:

The total duration is reported in the upper right-hand corner, in the console, and as a performance measure called total.

To run the benchmark for all browsers and report the median of 25 iterations:

npm install
npm start

In another tab:

npm run benchmark

About

CSS containment benchmark

https://nolanlawson.github.io/css-containment-benchmark

License:Apache License 2.0


Languages

Language:HTML 86.0%Language:JavaScript 14.0%