gecko-dev/third_party/rust/wasmparser-0.48.2/compare-master.sh

13 строки
313 B
Bash
Executable File

#/bin/bash
# record current bench results
cargo bench --bench benchmark -- --noplot --save-baseline after
# switch to master and record its bench results
git checkout master && \
cargo bench --bench benchmark -- --noplot --save-baseline before
# compare
cargo install critcmp --force && \
critcmp before after