Benchmark improvements
* CI: Clean offline; display cleaned bytes; one artifact upload * Add missing csv bench to iai benchmarks * Generate flamegraphs for benchmarks * Validate benchmark results separately
This commit is contained in:
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@@ -161,21 +161,19 @@ jobs:
|
||||
fail_on: nothing
|
||||
comment_mode: off
|
||||
|
||||
- run: cargo build --bench run_iai --release
|
||||
- run: cargo build --all-targets --release
|
||||
- run: cargo test --bench setup --release
|
||||
- run: cargo bench --bench run_iai
|
||||
- run: cargo bench --bench run_criterion
|
||||
- run: cargo bench --bench run_criterion -- --profile-time 60
|
||||
|
||||
- name: Publish criterion benchmark results
|
||||
- name: Publish benchmark results
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: bench-criterion-results
|
||||
path: target/criterion/**/*
|
||||
|
||||
- name: Publish iai benchmark results
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: bench-iai-results
|
||||
path: target/iai/scryer-prolog/run_iai/bench_group/*
|
||||
name: benchmark-results
|
||||
path: |
|
||||
target/criterion/*
|
||||
target/iai/*
|
||||
|
||||
# Publish binaries when building for a tag
|
||||
release:
|
||||
|
||||
Reference in New Issue
Block a user