benchmark for various JavaScript libraries for generating CSS selectors
benchmark for various JavaScript libraries for generating CSS selectors
This project has moved. It now lives in the css-selector-generator repository, under
packages/css-selector-generator-benchmark.**Run it at **
This repository is kept only so that existing links keep working. Its history was preserved in the move.
Benchmark to compare Javascript libraries for generating CSS selectors.
Tests each library against a complex HTML document and measures various performance and quality metrics.
The benchmark measures:
npm install
npm run dev
npm run build
npm run preview
The benchmark uses complex.html from the css-selector-generator test suite, which contains a realistic web application interface with nested elements, multiple classes, IDs, and various attribute combinations.
To add a new library to the benchmark:
npm install src/utils/benchmark.ts to include the librarysrc/components/BenchmarkTable.tsxUnlicense
If you found any bugs or have feature requests, please file an issue at GitHub.
No open issues yet, or sync has not completed.