nolanlawson / declarative-shadow-dom-style-benchmark

Browser benchmark of loading 100 declarative shadow roots with duplicated styles

Home Page:https://nolanlawson.github.io/declarative-shadow-dom-style-benchmark/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

declarative-shadow-dom-style-benchmark

This is a browser benchmark of loading 100 declarative shadow roots, each containing <link rel=stylesheet>s for Bootstrap.css, plus some HTML markup, versus roughly the same thing using <link>s in the <head> and light DOM.

Usage:

npx http-server -p 8080 # or your favorite HTTP server

Then navigate to http://localhost:8080/light-dom.html and compare to http://localhost:8080/shadow-dom.html.

About

Browser benchmark of loading 100 declarative shadow roots with duplicated styles

https://nolanlawson.github.io/declarative-shadow-dom-style-benchmark/

License:Apache License 2.0


Languages

Language:HTML 100.0%