Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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