Skip to content
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

Make wiki pages visit fast #32732

Merged
merged 3 commits into from
Dec 6, 2024
Merged

Make wiki pages visit fast #32732

merged 3 commits into from
Dec 6, 2024

Conversation

lunny
Copy link
Member

@lunny lunny commented Dec 5, 2024

Fix #20156

We reuse the code from the repository code view instead of the current code.
Previously it took 5653ms for https://gitea.com/henri/wiki/wiki/?action=_pages in my local machine, now it's about 300ms .

@lunny lunny added the performance/speed performance issues with slow downs label Dec 5, 2024
@lunny lunny added this to the 1.23.0 milestone Dec 5, 2024
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Dec 5, 2024
@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Dec 5, 2024
@github-actions github-actions bot added the modifies/go Pull requests that update Go code label Dec 5, 2024
@lunny lunny force-pushed the lunny/wiki_page_fast branch from 4498103 to f821cd5 Compare December 5, 2024 23:22
@lunny lunny requested a review from wxiaoguang December 6, 2024 05:27
@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 Dec 6, 2024
@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 Dec 6, 2024
@lunny lunny enabled auto-merge (squash) December 6, 2024 07:13
@lunny lunny merged commit b32f0cd into go-gitea:main Dec 6, 2024
26 checks passed
@lunny lunny deleted the lunny/wiki_page_fast branch December 6, 2024 08:12
@yp05327
Copy link
Contributor

yp05327 commented Dec 6, 2024

Does this need backport?

@lunny lunny added the backport/v1.22 This PR should be backported to Gitea 1.22 label Dec 6, 2024
GiteaBot pushed a commit to GiteaBot/gitea that referenced this pull request Dec 6, 2024
@GiteaBot GiteaBot added the backport/done All backports for this PR have been created label Dec 6, 2024
lunny added a commit that referenced this pull request Dec 6, 2024
Backport #32732 by @lunny

Fix #20156

We reuse the code from the repository code view instead of the current
code.
Previously it took `5653ms` for
https://gitea.com/henri/wiki/wiki/?action=_pages in my local machine,
now it's about `300ms` .

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
zjjhot added a commit to zjjhot/gitea that referenced this pull request Dec 9, 2024
* giteaofficial/main:
  [skip ci] Updated licenses and gitignores
  Fix repo home row-right grow (go-gitea#32763)
  Refactor issue list (go-gitea#32755)
  Fix compare page bug view as anonymous (go-gitea#32754)
  Split issue/pull view router function as multiple smaller functions (go-gitea#32749)
  fix: render job title as commit message (go-gitea#32748)
  Fix typescript errors in Vue files, fix regression in "Recent Commits" chart (go-gitea#32649)
  Refactor LabelEdit (go-gitea#32752)
  [skip ci] Updated translations via Crowdin
  fix(project): add title to project view page (go-gitea#32747)
  [skip ci] Updated translations via Crowdin
  Fix case of .tsbuildinfo in .gitignore (go-gitea#32737)
  Support "merge upstream branch" (Sync fork) (go-gitea#32741)
  Update changelog to add missed changelog (go-gitea#32734)
  GitHub like repo home page (go-gitea#32213)
  Refactor markdown render (go-gitea#32736)
  Make wiki pages visit fast (go-gitea#32732)
  Refactor markdown render (go-gitea#32728)
  Refactor RepoActionView.vue, add `::group::` support (go-gitea#32713)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/done All backports for this PR have been created backport/v1.22 This PR should be backported to Gitea 1.22 lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/go Pull requests that update Go code performance/speed performance issues with slow downs size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wiki overview of pages is loading slowly
4 participants