-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Cargo Build Timings graph hits browser’s max canvas size #7436
Comments
Maybe splitting the graph into multiple |
Alternatively, maybe |
@nox that could be good also, but an entirely different feature from Cargo’s |
I believe this was fixed in #7397 which just hasn't made its way to nightly yet, but let us know if it's still not working after that update hits though! |
I think there is a regression here now, the following report file(https://gistpreview.github.io/?ecabd731cbe662d562dffe00e39f1465 generate by cargo 1.84.0-nightly (8c30ce5 2024-10-15)) works on chrome 131.0.6778.206, but on firefox 134.0 it still says |
https://gistpreview.github.io/?eeb6459081cf75648d507eeaf1d414f3 is
cargo build -Z timings
for Servo. The canvas appears broken in Firefox and Chromium until the "Min unit time" slider is moved to a non-zero value. This appears to be because the canvas height exceedsi16::MAX
:Changing "Min unit time" to even 0.1 seconds filters out many units/crates, making a much smaller canvas.
I’m not sure what a proper solution would be, but maybe we could at least detect this situation and suggest that work-around?
The text was updated successfully, but these errors were encountered: