Skip to content

Commit

Permalink
Cut testing time of AVA itself by more than half
Browse files Browse the repository at this point in the history
2m 35sec → 1m 14s

Went with 4 cores as that seemed the most optimal. I've experienced that number being the most optimal for other things in the past too.

Current
2m 35sec

2 cores
1m 37s

3 cores
1m 29s

4 cores
1m 14s

6 cores
1m 31s
  • Loading branch information
sindresorhus committed Feb 2, 2017
1 parent b3eaf30 commit 751d2a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -43,8 +43,8 @@
"node": ">=4"
},
"scripts": {
"test": "xo && nyc tap --no-cov --timeout=150 test/*.js test/reporters/*.js",
"test-win": "tap --no-cov --reporter=classic --timeout=150 test/*.js test/reporters/*.js",
"test": "xo && nyc tap --no-cov --timeout=150 --jobs=4 test/*.js test/reporters/*.js",
"test-win": "tap --no-cov --reporter=classic --timeout=150 --jobs=4 test/*.js test/reporters/*.js",
"visual": "node test/visual/run-visual-tests.js",
"prepublish": "npm run make-ts",
"make-ts": "node types/make.js"
Expand Down

0 comments on commit 751d2a8

Please sign in to comment.