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

Experiment: adjust CI jobs to externally collect stats #9

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
32 changes: 20 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,14 @@ jobs:
restore-keys: ${{ runner.os }}-${{ github.job }}-
- name: System Information
run: lscpu
- name: Compile (--profile ci)
run: cargo build --benches --profile ci
- name: Run Compilation Benches (--profile ci)
run: cargo bench compile/ --profile ci
- name: Install Cargo Criterion (tool)
run: cargo install cargo-criterion || true
- name: Compile (--profile bench)
run: cargo build --benches --profile bench
- name: Run Compilation Benches (--profile bench)
run: cargo criterion --bench criterion --message-format=json compile/ > out.json
- name: Print JSON Output
run: cat out.json

bench-execute:
name: Run Execution Benchmarks
Expand All @@ -78,10 +82,14 @@ jobs:
restore-keys: ${{ runner.os }}-${{ github.job }}-
- name: System Information
run: lscpu
- name: Compile (--profile ci)
run: cargo build --benches --profile ci
- name: Run Execution Benches (--profile ci)
run: cargo bench execute/ --profile ci
- name: Install Cargo Criterion (tool)
run: cargo install cargo-criterion || true
- name: Compile (--profile bench)
run: cargo build --benches --profile bench
- name: Run Execution Benches (--profile bench)
run: cargo criterion --bench criterion --message-format=json execute/ > out.json
- name: Print JSON Output
run: cat out.json

coremark:
name: Run Coremark
Expand All @@ -103,10 +111,10 @@ jobs:
restore-keys: ${{ runner.os }}-${{ github.job }}-
- name: System Information
run: lscpu
- name: Compile (--profile ci)
run: cargo build --bin coremark --profile ci
- name: Run Coremark (--profile ci)
run: cargo run --bin coremark --profile ci
- name: Compile (--profile bench)
run: cargo build --bin coremark --profile bench
- name: Run Coremark (--profile bench)
run: cargo run --bin coremark --profile bench

fmt:
name: Formatting
Expand Down
9 changes: 3 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ path = "src/plot.rs"

[dependencies]
wasmi_old = { package = "wasmi", version = "0.31.2" }
wasmi_new = { package = "wasmi", version = "0.34.0", features = ["no-hash-maps"] }
wasmi_new = { package = "wasmi", git = "https://github.com/wasmi-labs/wasmi.git", features = ["no-hash-maps"] }
tinywasm = "0.7.0"
wasmer = { version = "4.3", default-features = false, features = ["engine", "compiler"] }
wasmer-compiler-singlepass = "4.3"
Expand Down
Loading
Loading