Skip to content

Commit

Permalink
adjust CI jobs to externally collect stats
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbepop committed May 19, 2024
1 parent dae7b36 commit a39aa9d
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 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
- 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
- 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 Down

0 comments on commit a39aa9d

Please sign in to comment.