Skip to content

Commit

Permalink
Add HTML minifiers benchmark #22
Browse files Browse the repository at this point in the history
  • Loading branch information
maltsev committed Feb 16, 2016
1 parent 6e64203 commit 06ff999
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@
Modular HTML minifier, built on top of the [PostHTML](https://github.com/posthtml/posthtml). Inspired by [cssnano](http://cssnano.co/).


## [Benchmark](https://github.com/maltsev/html-minifiers-benchmark/blob/master/README.md)
[html-minifier]: https://www.npmjs.com/package/html-minifier
[htmlnano]: https://www.npmjs.com/package/htmlnano

| Website | Source (KB) | [html-minifier] | [htmlnano] |
|---------|------------:|----------------:|-----------:|
| [stackoverflow.com](http://stackoverflow.com/) | 239 | 189 | 198 |
| [github.com](http://github.com/) | 24 | 16 | 22 |
| [en.wikipedia.org](https://en.wikipedia.org/wiki/Main_Page) | 64 | 58 | 61 |
| [npmjs.com](https://www.npmjs.com/) | 35 | 27 | 28 |
| **Avg. minify rate** | 0% | **22%** | **13%** |


## Usage
Expand Down

0 comments on commit 06ff999

Please sign in to comment.