Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare benchmarks between rustc stable and nightly channels #507

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ criterion-benchmark:
- git submodule update --init --recursive
- mkdir -p ./target/ci
- pushd ./crates/wasmi/
- cargo bench --bench benches -- --noplot --save-baseline master | tee ../../target/ci/bench-master
- cargo +stable bench --bench benches -- --noplot --save-baseline master | tee ../../target/ci/bench-master
- popd
- git submodule deinit --all -f

# Benchmark Branch: PR
- git checkout $CI_COMMIT_SHA
- git submodule update --init --recursive
- pushd ./crates/wasmi/
- cargo bench --bench benches -- --noplot --baseline master | tee ../../target/ci/bench-pr
- cargo +nightly bench --bench benches -- --noplot --baseline master | tee ../../target/ci/bench-pr
- popd

# Save benchmark report
Expand Down Expand Up @@ -80,7 +80,7 @@ wasmtime-benchmark:
- git pull
- git submodule update --init --recursive
- mkdir -p ./target/ci
- cargo wasi build --profile bench --bench benches --verbose
- cargo +stable wasi build --profile bench --bench benches --verbose
- cp `ls -t target/wasm32-wasi/release/deps/*wasi.wasm` target/ci/benches-master.wasm
- pushd ./crates/wasmi/
- wasmtime run --dir=. ../../target/ci/benches-master.wasm -- --bench --save-baseline master-wasm | tee ../../target/ci/wasmtime-master
Expand All @@ -92,7 +92,7 @@ wasmtime-benchmark:
- git checkout $CI_COMMIT_SHA
- git submodule update --init --recursive
- mkdir -p ./target/ci
- cargo wasi build --profile bench --bench benches --verbose
- cargo +nightly wasi build --profile bench --bench benches --verbose
- cp `ls -t target/wasm32-wasi/release/deps/*wasi.wasm` target/ci/benches-pr.wasm
- pushd ./crates/wasmi/
- wasmtime run --dir=. ../../target/ci/benches-pr.wasm -- --bench --baseline master-wasm | tee ../../target/ci/wasmtime-pr
Expand Down