用于生成 CSS 选择器的各种 JavaScript 库的基准
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 installnpm run devnpm run buildnpm run previewThe 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.
暂无开放 Issues,或尚未同步最近议题。