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

Improve GRADLE build Performance #316

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ChenZhangg
Copy link

Parallel test execution maxParallelForks, running multiple test cases in parallel is useful and helpful when there are several CPU cores.

According to Process forking options, Gradle will run all tests in a single forked VM by default. This can be problematic if there are a lot of tests or some very memory-hungry ones.
one option is to fork a new test VM after a certain number of tests have run. So our recommendation is to configure "forkEvery" and we give a specific value of 100

Disable report generation, Gradle will automatically create test reports by default which will slowing down the overall build. So it's better to disable the test reports while we don't need it

Incremental compilation, We note that the gradle version for this project is smaller than 4.10, so we recommend enabling this configuration to shorten build times

=====================
If there are any inappropriate modifications in this PR, please give me a reply and I will change them.

@digitalcircuit
Copy link

Thank you for your contribution! As a friendly heads up - as noted in README.md, this repository has been migrated to a self-hosted GitLab instance at https://git.kuschku.de/justJanne/QuasselDroid-ng/ (you can sign in with your GitHub account).

Aside, @justjanne , would it be worthwhile being more bold/upfront about the migration in the README, repo description, etc, then set the repository as archived?

@justjanne
Copy link
Collaborator

@ChenZhangg As @digitalcircuit said, we've migrated this repository.

If you send a PR over at https://github.com/justjanne/quasseldroid-ng then I'll merge your contributions immediately, so you can still take part in Hacktoberfest and get your merch.

I'm not a fan of Hacktoberfest myself, but I love that you're learning how to contribute to projects :)

@ChenZhangg
Copy link
Author

@ChenZhangg As @digitalcircuit said, we've migrated this repository.

If you send a PR over at https://github.com/justjanne/quasseldroid-ng then I'll merge your contributions immediately, so you can still take part in Hacktoberfest and get your merch.

I'm not a fan of Hacktoberfest myself, but I love that you're learning how to contribute to projects :)

Thanks! I have send a PR over at https://github.com/justjanne/quasseldroid-ng

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

Successfully merging this pull request may close these issues.

None yet

4 participants