Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 764 Bytes

Readme.md

File metadata and controls

33 lines (20 loc) · 764 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 crox

$ crox {crate name}-{pid}
  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.