项目
在 GitHub 查看
GoalSmashers/css-minification-benchmark
关于
A comparison of CSS minifiers for node.js
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文What is css-minification-benchmark?
A comparison of CSS minification engines.
FAQ
Which engines are covered?
How can I see the results?
Clone the repository, install the dependencies with npm install and then run node ./bin/bench.js. That's it!
If you prefer to see results without cloning the repo here are the most recent ones.
How can I generate the html report?
Just run node ./bin/bench.js --html > report.html
How can I test my CSS file?
Just copy your file to the data directory (make sure the filename ends with .css) and re-run the benchmark.
How can I add a new minifier to the list?
- add it to
package.jsonas adevDependency - run
npm install - require it in
lib/minify.jsand add it tominifiershash - run
npm run bench - add it to this file in "Which engines are covered?" section above
- send a PR (if you wish to have it included)
How can I compare a subset of minifiers?
Just run node ./bin/bench.js --only csso,cssnano (it's turned into /.*(csso|cssnano).*/ regex)
Can I get the compressed gzip size as well?
Run node ./bin/bench.js --gzip to measure the gzip size instead of the regular file size.
License
css-minification-benchmark is released under the MIT License.
探索相关项目
加载中…