Home

Awesome

measureme Rust

Support crate for rustc's self-profiling feature

This crate is maintained by the Rust compiler team and in particular by the self-profile working group. It is currently only meant to be used within rustc itself, so APIs may change at any moment.

Tools

measureme

measureme is the core library which contains a fast, efficient framework for recording events and serializing them to a compact binary format. It is integrated into rustc via the unstable -Z self-profile flag.

Documentation

summarize

summarize produces a human readable summary of measureme profiling data. It contains two main modes:

Learn more

stack_collapse

stack_collapse reads measureme profiling data and outputs folded stack traces compatible with the Flame Graph tools.

Learn more

flamegraph

flamegraph reads measureme profiling data and outputs Flame Graph.

Learn more

crox

crox turns measureme profiling data into files that can be visualized by the Chromium performance tools.

Learn more

mmedit

mmedit is for editing .mm_profdata files generated by measureme.

Learn more

mmview

mmview is for printing the event data generated by measureme.

Learn more

analyzeme

analyzeme is a library with common functionality for measureme tools.

Learn more

decodeme

decodeme holds the decoding definitions of the profiling event data from measureme.

Learn more