Update bench README to mention JS minification

This commit is contained in:
Wilson Lin 2020-07-22 21:34:31 +10:00
parent ae60f122a8
commit b6556a8a8b
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ Since speed depends on the input, speed charts show performance relative to the
The settings used for each minifier can be found in [minifiers.js](./minifiers.js). Some settings to note:
- JS and CSS minification is disabled for all, as minify-html is an HTML minifier and there are existing separate tools for [such](https://github.com/terser/terser) [tasks](https://github.com/jakubpawlowicz/clean-css).
- CSS minification is disabled for all, as minify-html currently does not support CSS minification (coming soon).
- `conservativeCollapse` is enabled for html-minifier as otherwise some whitespace would be unsafely removed with side affects. minify-html can safely remove whitespace with context if configured properly.
## Running