diff options
Diffstat (limited to 'third_party/rust/wasmparser-0.48.2/compare-master.sh')
-rwxr-xr-x | third_party/rust/wasmparser-0.48.2/compare-master.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/third_party/rust/wasmparser-0.48.2/compare-master.sh b/third_party/rust/wasmparser-0.48.2/compare-master.sh new file mode 100755 index 0000000000..e06c5e45a3 --- /dev/null +++ b/third_party/rust/wasmparser-0.48.2/compare-master.sh @@ -0,0 +1,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 |