Skip to content

Removing measureme tracing crate #4515

@Stypox

Description

@Stypox

The measureme tracing crate is currently used to trace rustc, however the tooling around it is a bit limited, since it's mostly intended for compiler profiling (where tasks might be less repetitive). The interface of measureme functions and the data format are quite basic and low level, and furthermore measureme requires passing a profiler object around. That's why we have switched to using the tracing library recently, which (when connected with a tracing_chrome layer), allows exporiting traces with lots of information which can be opened in visualization tools like https://ui.perfetto.dev. Since it might be confusing to have two different tracing infrastructures within Miri, I would suggest removing measureme, also considering that there have not been significant increments in code covered by measureme tracing calls in the last few years. I'm also pinging @Aaron1011 who introduced measureme in #1791: what do you think about removing it and use only tracing from now on?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-devArea: working on Miri as a developerC-cleanupCategory: cleaning up our code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions