Skip to content

Commit

Permalink
Add v8-compile-cache to improve load times (#4272)
Browse files Browse the repository at this point in the history
  • Loading branch information
vankop authored and hudochenkov committed Sep 10, 2019
1 parent 1d6e2a9 commit 32d8325
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions bin/stylelint.js
Expand Up @@ -2,4 +2,7 @@

"use strict";

// to use V8's code cache to speed up instantiation time
require("v8-compile-cache");

require("../lib/cli")(process.argv.slice(2));
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -86,7 +86,8 @@
"style-search": "^0.1.0",
"sugarss": "^2.0.0",
"svg-tags": "^1.0.0",
"table": "^5.2.3"
"table": "^5.2.3",
"v8-compile-cache": "^2.1.0"
},
"devDependencies": {
"benchmark": "^2.1.4",
Expand Down

0 comments on commit 32d8325

Please sign in to comment.