Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests in parallel #183

Open
wdavidw opened this issue Dec 4, 2020 · 1 comment
Open

Tests in parallel #183

wdavidw opened this issue Dec 4, 2020 · 1 comment
Assignees

Comments

@wdavidw
Copy link
Member

wdavidw commented Dec 4, 2020

Run test in parallel, hopefully all the tests but starting with engine

@wdavidw
Copy link
Member Author

wdavidw commented Dec 4, 2020

After a little adjustment, it works with engine. Results show a 3 times speed gains on my 8-Core Intel Core i9:

npx mocha 'test/**/*.coffee'
1m 31s

npx mocha 'test/**/*.coffee' --parallel 
35s

npx mocha 'test/**/*.coffee' --parallel -j 8
30s

npx mocha 'test/**/*.coffee' --parallel -j 16
34s

npx mocha 'test/**/*.coffee' --parallel -j 32
41s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants