Skip to content

Cargo Build Timings graph hits browser’s max canvas size #7436

@SimonSapin

Description

@SimonSapin

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 exceeds i16::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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions