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 overview page display one data point per week #280

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

OsamaSayegh
Copy link
Contributor

Currently the overview page (e.g. /ruby/ruby/commits/overview) tries to display a graph with 2000 data points (BenchmarkRun) for every BenchmarkType. This is very expensive and takes the page about 5 minutes to load on my local instance.

This PR changes the overview page so it picks a single commit per week and displays the data point associated with that commit. The page now takes 1.5 seconds to load locally without cache. We already have a 30 minutes cache in place for the page, so we don't have to do the work repeatedly.

Screenshot:

image

I also added a link to the overview page on the /benchmarks page:

image

@OsamaSayegh
Copy link
Contributor Author

@tgxworld can you review this whenever you get a chance? thanks! ^_^

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.

None yet

1 participant