Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 792 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 792 Bytes

Crox

Crox (chromium oxide) is a tool to turn trace files from measureme into files that can be visualized by the Chromium performance tools.

Sample image of Chrome Profiler displaying measureme data

Getting started

  1. Obtain a sample recorded using measureme. For example, using the self-profiler in rustc:
$ cargo rustc -- -Z self-profile
  1. Run crox on 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
  1. Open Chrome

  2. Open the Dev Tools console

  3. Click the Performance tab

  4. Click the Load Profile button

  5. Navigate to your working directory and pick chrome_profiler.json.