]> git.lizzy.rs Git - rust.git/blobdiff - CONTRIBUTING.md
Introduce a proper error handling framework
[rust.git] / CONTRIBUTING.md
index a3bad3d154075023c0b27687b66053a6978cb848..bde1921eb8ce467fbb85e5b86443ea7ebf2ce0ee 100644 (file)
@@ -147,6 +147,12 @@ does not automatically trigger a re-build of the standard library; you have to
 clear the Miri build cache manually (on Linux, `rm -rf ~/.cache/miri`;
 and on Windows, `rmdir /S "%LOCALAPPDATA%\rust-lang\miri\cache"`).
 
+### Benchmarking
+
+Miri comes with a few benchmarks; you can run `./miri bench` to run them with the locally built
+Miri. Note: this will run `./miri install` as a side-effect. Also requires `hyperfine` to be
+installed (`cargo install hyperfine`).
+
 ## Configuring `rust-analyzer`
 
 To configure `rust-analyzer` and VS Code for working on Miri, save the following