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
Copy link
Copy Markdown

@ChenZhangg ChenZhangg commented Oct 13, 2021

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
Copy link
Copy Markdown

codecov-commenter commented Nov 24, 2021

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 52.44%. Comparing base (2ee2950) to head (3e7a24a).
⚠️ Report is 46 commits behind head on series/5.x.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@               Coverage Diff                @@
##             series/5.x     #434      +/-   ##
================================================
- Coverage         53.71%   52.44%   -1.27%     
+ Complexity         2624     2622       -2     
================================================
  Files               140      148       +8     
  Lines              9232     9444     +212     
  Branches            494      497       +3     
================================================
- Hits               4959     4953       -6     
- Misses             4118     4336     +218     
  Partials            155      155              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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