Skip to content

Make single query for graph data #1052

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
Oct 5, 2021

Conversation

tgnottingham
Copy link
Contributor

Make one query for graph data instead of sixteen. With local SQLite DB,
this reduces the time to handle a request for 8 months of data from 8
seconds to 3. Hoping that the results are even better for Postgres, as
currently, such a request causes a timeout on perf.rust-lang.org.

@tgnottingham
Copy link
Contributor Author

Verified that graphs look the same before and after change.

@tgnottingham tgnottingham force-pushed the graph-perf branch 2 times, most recently from f9891b3 to 84015c4 Compare October 4, 2021 20:49
@tgnottingham
Copy link
Contributor Author

Rebased.

Make one query for graph data instead of sixteen. With local SQLite DB,
this reduces the time to handle a request for 8 months of data from 8
seconds to 3. Hoping that the results are even better for Postgres, as
currently, such a request causes a timeout on perf.rust-lang.org.
@Mark-Simulacrum Mark-Simulacrum merged commit 3d91c4c into rust-lang:master Oct 5, 2021
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.

2 participants