Skip to content

Cache tags -> commits for performance #6651

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

Merged
merged 1 commit into from
Feb 13, 2020

Conversation

davidfischer
Copy link
Contributor

This optimization only really improves things when there are 1000s of tags.

This optimization only really improves things when there are
1000s of tags.
@davidfischer davidfischer added the PR: work in progress Pull request is not ready for full review label Feb 12, 2020
Copy link
Member

@ericholscher ericholscher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍

@davidfischer
Copy link
Contributor Author

I ran this locally with the rtd-git-stresstest repository (~35k tags, ~35k commits) and the build time was ~45s. It was timing out before. The build time is actually longer than this amount but some amount of cloning which took a few minutes wasn't included in the timing.

@davidfischer davidfischer removed the PR: work in progress Pull request is not ready for full review label Feb 13, 2020
@ericholscher ericholscher merged commit ff297fb into master Feb 13, 2020
@ericholscher ericholscher deleted the davidfischer/many-tags-speedup branch February 13, 2020 23:34
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