Improve GRADLE build Performance#353
Conversation
|
Hi, @shisheng-1! Thanks for the suggestion. I think we could get a greater performance boot from parallelizing the build. Would you be able to instead change I prefer this solution since it allows Gradle to decide how best to parallelize things. |
|
Hi @jzheaux ! On parallel at TEST level GRADLE also provides another parameter configuration: First, I'd like to discuss the improvements that come with using Process forking options
By use
|
|
As I mentioned above,GRADLE also provides another configuration for Parallel at the TEST level : Parallel test execution maxParallelForks. We can add Build the project by and if we add |
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. We can fork a new test VM after a certain number of tests have run by setting
forkEvery.=====================
If there are any inappropriate modifications in this PR, please give me a reply and I will change them.