summaryrefslogtreecommitdiffstats
path: root/third_party/rust/wasmparser-0.48.2/compare-master.sh
blob: e06c5e45a3f44f8683411e2e5c075350f0450d90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#/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