Skip to content

Tracking Issue for timing report SVG render backend #16440

@weihanglo

Description

@weihanglo

Summary

Original issue: #8850
Implementation: #15091

This changes Cargo timing report renderer from HTML canvas to SVG, improving the performance of rendering large dependency graph, as well as hovering dependency lines.

Currently canvas is still the default, and there is a toggle switching between them during the call-for-testing period

Unresolved Issues

  • Call-for-testing
  • Remove legacy canvas renderer
  • Understand our minimum supported browser version
  • Should we switch to HTML template library for better maintainability?
    • Cons: bloating Cargo its own binary size and compile time
  • Should we switch to a frontend framework for better maintainability?
    • Cons: editing HTML/JS directly will be harder

Future Extensions

About tracking issues

Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-timingsArea: timingsC-tracking-issueCategory: A tracking issue for something unstable.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions