Permalink
Browse files

Update parser benchmark results

  • Loading branch information...
1 parent 0dfd721 commit c4a3ad8fd48a975ca398d88f76e55056932f8f67 @ai ai committed Sep 19, 2016
Showing with 18 additions and 18 deletions.
  1. +9 −9 README.md
  2. +9 −9 parsers.js
View
@@ -36,16 +36,16 @@ npm test preprocessors
Compare [CSS parsers] written on JS:
```
-CSSTree: 17 ms (1.5 times faster)
-Mensch: 23 ms (1.1 times faster)
-CSSOM: 24 ms (1.0 times faster)
+CSSTree: 14 ms (1.8 times faster)
+Mensch: 21 ms (1.2 times faster)
+CSSOM: 25 ms (1.0 times faster)
PostCSS: 25 ms
-Rework: 48 ms (1.9 times slower)
-PostCSS Full: 69 ms (2.8 times slower)
-Stylecow: 102 ms (4.1 times slower)
-Gonzales: 109 ms (4.3 times slower)
-Gonzales PE: 136 ms (5.4 times slower)
-ParserLib: 299 ms (11.9 times slower)
+Rework: 49 ms (1.9 times slower)
+PostCSS Full: 69 ms (2.7 times slower)
+Stylecow: 102 ms (4.0 times slower)
+Gonzales: 108 ms (4.3 times slower)
+Gonzales PE: 134 ms (5.3 times slower)
+ParserLib: 282 ms (11.1 times slower)
```
To get results on your environment:
View
@@ -1,15 +1,15 @@
/* Results on node 6.6.0, Fedora 23, Intel Core i7-6500U, 8 GB RAM and SSD:
-CSSTree: 17 ms (1.5 times faster)
-Mensch: 23 ms (1.1 times faster)
-CSSOM: 24 ms (1.0 times faster)
+CSSTree: 14 ms (1.8 times faster)
+Mensch: 21 ms (1.2 times faster)
+CSSOM: 25 ms (1.0 times faster)
PostCSS: 25 ms
-Rework: 48 ms (1.9 times slower)
-PostCSS Full: 69 ms (2.8 times slower)
-Stylecow: 102 ms (4.1 times slower)
-Gonzales: 109 ms (4.3 times slower)
-Gonzales PE: 136 ms (5.4 times slower)
-ParserLib: 299 ms (11.9 times slower)
+Rework: 49 ms (1.9 times slower)
+PostCSS Full: 69 ms (2.7 times slower)
+Stylecow: 102 ms (4.0 times slower)
+Gonzales: 108 ms (4.3 times slower)
+Gonzales PE: 134 ms (5.3 times slower)
+ParserLib: 282 ms (11.1 times slower)
*/
var path = require('path');

0 comments on commit c4a3ad8

Please sign in to comment.