mirror of
https://github.com/jberkel/sms-backup-plus.git
synced 2026-04-25 17:05:59 +03:00
[PR #1072] [MERGED] Improve GRADLE build Performance #1027
Labels
No labels
AM+RCS
FAQ
awaiting response
backup
bespoke
bug
calendar
call log
cannot reproduce
cloudless
device-specific
documentation
dual- & multi-SIM
duplicate
feature-request
fixed in beta
good first issue
half-missing
help wanted
helpful
meta
misattribution
mms
other message sources
pull-request
question
rejuvenation
restore
schedule
security
stale
task
thanks
v1.5.1
v1.5.10
v1.5.11
v1.5.2
v1.5.3
v1.5.3
v1.5.4
v1.5.4
v1.5.5
v1.5.5
v1.5.6
v1.5.7
v1.5.8
v1.5.9
v1.6β
xoauth
~$ bounty $~
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/sms-backup-plus-jberkel#1027
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jberkel/sms-backup-plus/pull/1072
Author: @ChenZhangg
Created: 10/13/2021
Status: ✅ Merged
Merged: 10/26/2021
Merged by: @kurahaupo
Base:
master← Head:Modify_GRADLE_3📝 Commits (2)
5043216Improve GRADLE build Performance9131202merge those changes in one task📊 Changes
1 file changed (+7 additions, -0 deletions)
View changed files
📝
build.gradle(+7 -0)📄 Description
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
=====================
If there are any inappropriate modifications in this PR, please give me a reply and I will change them.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.