Fix css perf tests

This commit is contained in:
Liam Newman 2018-08-30 13:21:46 -07:00
parent 3dda58792a
commit e333ae52de

View File

@ -18,12 +18,12 @@ function node_beautifier_html_tests() {
};
//warm-up
beautifier.html(github_css, options);
beautifier.css(github_css, options);
var suite = new Benchmark.Suite();
suite.add("css-beautify (github.css)", function() {
beautifier.html(github_css, options);
beautifier.css(github_css, options);
})
// add listeners
.on('cycle', function(event) {