Crox
October 7, 2021 ยท View on GitHub
Crox (chromium oxide) is a tool to turn trace files from measureme into files that can be visualized by the Chromium performance tools.

Getting started
- Obtain a sample recorded using
measureme. For example, using the self-profiler inrustc:
$ cargo rustc -- -Z self-profile
- Run
croxon the output file:
$ # Install crox if you haven't done so yet.
$ cargo install --git https://github.com/rust-lang/measureme --branch stable crox
$ crox {crate name}-{pid}.mm_profdata
-
Open Chrome
-
Open the Dev Tools console
-
Click the Performance tab
-
Click the Load Profile button
-
Navigate to your working directory and pick
chrome_profiler.json.