Skip to content

Commit 0155739

Browse files
Gudahttarcanis
authored andcommitted
ci(perf): Set maxWorkers to match the number of cores available (#6249)
AppVeyor VMs have 2 cores, yet we were telling Jest to use 3 workers. Changing it to 2 should reduce overhead and speed up the test suite.
1 parent d051cc7 commit 0155739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ build_script:
1818
test_script:
1919
- cmd: |-
2020
SET npm_execpath=%APPVEYOR_BUILD_FOLDER%\bin\yarn.js
21-
node ./node_modules/jest/bin/jest.js --verbose --maxWorkers=3
21+
node ./node_modules/jest/bin/jest.js --verbose --maxWorkers=2
2222
artifacts:
2323
- path: artifacts/*.msi
2424
name: Installer

0 commit comments

Comments
 (0)