rust-lang / rustc-perf

Website for graphing performance of rustc
https://perf.rust-lang.org
632 stars 148 forks source link

Request fails #1083

Closed younes-io closed 2 weeks ago

younes-io commented 3 years ago

This request https://perf.rust-lang.org/?start=2021-01-01&end=2021-10-17&kind=percentfromfirst&stat=wall-time resumes with a 504 error

The frontend still shows even though the HTTP request failed: Loading & rendering data... This may take a while!

Expected behavior:

Mark-Simulacrum commented 2 years ago

This is likely due to a timeout (I'm seeing the request take ~60-70 seconds locally). Likely this query is just too large in practice to run; we'd need to optimize the database search for it to be faster and that may not be entirely possible -- it's reading a lot of rows in. Regardless, we should do better about telling the user the request has failed.