mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Resolve #31492 The response time for the Pull Requests API has improved significantly, dropping from over `2000ms` to about `350ms` on my local machine. It's about `6` times faster. A key area for further optimization lies in batch-fetching data for `apiPullRequest.ChangedFiles, apiPullRequest.Additions, and apiPullRequest.Deletions`. Tests `TestAPIViewPulls` does exist and new tests added. - This PR also fixes some bugs in `GetDiff` functions. - This PR also fixes data inconsistent in test data. For a pull request, the head branch's reference should be equal to the reference in `pull/xxx/head`. |
2 months ago | |
---|---|---|
.. | ||
activity.go | 2 years ago | |
attachment.go | 1 year ago | |
convert.go | 2 months ago | |
git_commit.go | 12 months ago | |
git_commit_test.go | 1 year ago | |
issue.go | 3 months ago | |
issue_comment.go | 2 months ago | |
issue_test.go | ||
main_test.go | 1 year ago | |
mirror.go | 1 year ago | |
notification.go | 11 months ago | |
package.go | 10 months ago | |
pull.go | 2 months ago | |
pull_review.go | 11 months ago | |
pull_review_test.go | 11 months ago | |
pull_test.go | 2 years ago | |
release.go | 1 year ago | |
release_test.go | 1 year ago | |
repository.go | 4 months ago | |
secret.go | 1 year ago | |
status.go | 2 years ago | |
user.go | 9 months ago | |
user_test.go | 2 years ago | |
utils.go | 5 months ago | |
utils_test.go | 2 years ago | |
wiki.go | 1 year ago |