https://github.com/nolanlawson/shadow-selector-benchmark
Benchmark of shadow DOM with various CSS selectors
https://github.com/nolanlawson/shadow-selector-benchmark
Last synced: 11 days ago
JSON representation
Benchmark of shadow DOM with various CSS selectors
- Host: GitHub
- URL: https://github.com/nolanlawson/shadow-selector-benchmark
- Owner: nolanlawson
- License: apache-2.0
- Created: 2022-06-17T17:41:46.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-17T14:24:43.000Z (over 2 years ago)
- Last Synced: 2025-03-28T22:12:47.587Z (28 days ago)
- Language: JavaScript
- Homepage: https://nolanlawson.github.io/shadow-selector-benchmark/
- Size: 1.19 MB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# shadow-selector-benchmark
Benchmark of shadow DOM and CSS selectors, described in this post: https://nolanlawson.com/2022/06/22/style-scoping-versus-shadow-dom-which-is-fastest/
To run the benchmark:
```bash
npm install
npm start
```In another tab:
```bash
npm run benchmark
```