Skip to content

Reduce memory usage in testgit (#15306) #15310

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

Conversation

6543
Copy link
Member

@6543 6543 commented Apr 6, 2021

Backport #15306

* reduce memory use in rawtest

* just use hashsum for diffs

Signed-off-by: Andrew Thornton <[email protected]>
@6543 6543 added type/testing skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. labels Apr 6, 2021
@6543 6543 added this to the 1.14.0 milestone Apr 6, 2021
@6543
Copy link
Member Author

6543 commented Apr 6, 2021

make test-sqlite From:

real    3m11,910s
user    4m4,363s
sys     0m38,704s

To:

real    3m2,304s
user    3m32,308s
sys     0m34,163s

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Apr 6, 2021
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Apr 6, 2021
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Apr 6, 2021
@lunny
Copy link
Member

lunny commented Apr 7, 2021

make L-G-T-M work.

@lunny lunny merged commit 32232db into go-gitea:release/v1.14 Apr 7, 2021
@6543 6543 deleted the backport/v14/reduce-memory-usage-in-testgit branch April 7, 2021 06:21
@go-gitea go-gitea locked and limited conversation to collaborators May 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. type/testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants