12 releases (2 stable)

new 9.1.0 Feb 19, 2021
9.0.0 Oct 8, 2020
0.8.0 Oct 1, 2020
0.7.1 Jan 2, 2020
0.1.0 Mar 14, 2019
Download history 9851/week @ 2020-11-04 8176/week @ 2020-11-11 8299/week @ 2020-11-18 7846/week @ 2020-11-25 6773/week @ 2020-12-02 7487/week @ 2020-12-09 8513/week @ 2020-12-16 6768/week @ 2020-12-23 7496/week @ 2020-12-30 8155/week @ 2021-01-06 8418/week @ 2021-01-13 8526/week @ 2021-01-20 7348/week @ 2021-01-27 7534/week @ 2021-02-03 6983/week @ 2021-02-10 7696/week @ 2021-02-17

32,869 downloads per month
Used in 48 crates (4 directly)

MIT/Apache

105KB
1.5K SLoC

measureme Build Status

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:

  • summarize which groups the profiling events and orders the results by time taken.
  • diff which compares two profiles and outputs a summary of the differences.

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

Dependencies

~670KB
~13K SLoC