css-minification-benchmark
css-minification-benchmark copied to clipboard
Add a table comparing gzip numbers
If you can change the script to output the numbers is YAML, then everything should be much cleaner; we can use YAML files directly in Jekyll meaning we'd no longer need to generate index.html ourselves :)
Good point! Can it be any YAML structure I can think of? Like:
960.css:
plain: <number-of-bytes>
compressed: <number-of-bytes>
minified:
clean-css:
plain: <number-of-bytes>
compressed: <number-of-bytes>
took: <number-of-milliseconds>
clean-css-advanced-off:
...
Yeah that will work. The only requirement is that the yml file is in "_data" folder. Then I can modify the html so that Jekyll loads that info :)
Cool :+1:
More info http://jekyllrb.com/docs/datafiles/
This way we can use templates and stuff to expand the pages more. Plus they will be cleaner than now.