mirror of
https://github.com/beautifier/js-beautify.git
synced 2024-11-23 12:49:40 +00:00
Fix css perf tests
This commit is contained in:
parent
3dda58792a
commit
e333ae52de
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user