File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -212,6 +212,15 @@ Miri comes with a few benchmarks; you can run `./miri bench` to run them with th
212212Miri. Note: this will run ` ./miri install ` as a side-effect. Also requires ` hyperfine ` to be
213213installed (` cargo install hyperfine ` ).
214214
215+ To compare the benchmark results with a baseline, do the following:
216+ - Before applying your changes, run ` ./miri bench --save-baseline=baseline.json ` .
217+ - Then do your changes.
218+ - Then run ` ./miri bench --load-baseline=baseline.json ` ; the results will include
219+ a comparison with the baseline.
220+
221+ You can run only some of the benchmarks by listing them, e.g. ` ./miri bench mse ` .
222+ The names refer to the folders in ` bench-cargo-miri ` .
223+
215224## Configuring ` rust-analyzer `
216225
217226To configure ` rust-analyzer ` and the IDE for working on Miri, copy one of the provided
You can’t perform that action at this time.
0 commit comments