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

Website performance #1725

Open
theotherphil opened this issue Sep 24, 2023 · 3 comments
Open

Website performance #1725

theotherphil opened this issue Sep 24, 2023 · 3 comments

Comments

@theotherphil
Copy link

Viewing graphs on perf.rust-lang.org often takes a long time, seemingly mainly spent waiting for a response from the server when loading data:

image

Are the current bottlenecks here already well understood?

@Kobzol
Copy link
Contributor

Kobzol commented Sep 24, 2023

Well, I expect that the bottleneck is clear, it's the database :) So I guess that the way to make it faster would be to use the classic tricks: adding indices, caching etc. The DB has been acting a bit strangely recently. It contains relatively large amounts of data, and there may be dragons.

We don't have any telemetry nor profiling setup at the moment, so that would also be useful to confirm my "hypothesis" :)

@Mark-Simulacrum
Copy link
Member

Can you say more about the specific request you were making? 30 seconds feels like it's on the high side to me. I'm general, the graph page processes a lot of data, and does so generally through lots of point queries to the database which isn't super fast.

@theotherphil
Copy link
Author

theotherphil commented Sep 24, 2023

The homepage took around this long to load. The 30s wait time in the screenshoot came from leaving the start and end dates empty and choosing "context-switches" as the desired metric.

https://perf.rust-lang.org/?kind=raw&stat=context-switches

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

No branches or pull requests

3 participants