Improve GRADLE build Performance by ChenZhangg · Pull Request #434 · functionaljava/functionaljava · GitHub
Skip to content

Improve GRADLE build Performance#434

Open
ChenZhangg wants to merge 2 commits into
functionaljava:series/5.xfrom
ChenZhangg:Modify_GRADLE_3
Open

Improve GRADLE build Performance#434
ChenZhangg wants to merge 2 commits into
functionaljava:series/5.xfrom
ChenZhangg:Modify_GRADLE_3

Conversation

@ChenZhangg

@ChenZhangg ChenZhangg commented Oct 13, 2021

Copy link
Copy Markdown

Parallel test execution maxParallelForks. Gradle can run multiple test cases in parallel by setting maxParallelForks.

Disable report generation. We can conditionally disable it by setting reports.html.required = false; reports.junitXml.required = false. If you need to generate reports, add -PcreateReports to the end of Gradle's build command line.

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.

@codecov-commenter

codecov-commenter commented Nov 24, 2021

Copy link
Copy Markdown

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.

3 participants