-
-
Notifications
You must be signed in to change notification settings - Fork 181
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
Too slow for a large project #340
Comments
I'm not sure if I'd call that a mid-sized project it's just over 121kloc! There is a release flag for tarpaulin that builds and runs tests as release binaries though this could increase the impact of false negatives due to optimisations. I'm just going to run on my machine with and without the release flag and see how that impacts the time. Another option is excluding any particularly heavy tests |
So on my system 16 minutes for the tests just doing |
@xd009642 For the first, thank you for trying it. The test of swc is slow because it spawns lots of node js process. So release mode will not help.
This seems interesting. I'll try it on my linux machine |
I agree. 121k loc is not a mid-sized. Changed the title. |
@kdy1 the latest change in develop might speed things up by changing less linker args if you want to be brave and go for the latest commit on develop for your CI 😅 |
Closing this issue as the llvm coverage backend is now released --engine llvm where tests will run as fast as they do in |
While trying to add code coverage to swc, I hit timeout from github actions, which is 6 hours.
Without tarpaulin, it takes 13 minutes.
Related PR: swc-project/swc#634
Log; https://github.com/swc-project/swc/pull/634/checks?check_run_id=432131381
The text was updated successfully, but these errors were encountered: