Skip to content

Commit

Permalink
remove duplicated Alpha/LEM benchmarks and examples, making LEM the norm
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurpaulino committed Oct 31, 2023
1 parent 174c3a5 commit 9e9398e
Show file tree
Hide file tree
Showing 17 changed files with 199 additions and 1,675 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bench-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Install criterion
run: cargo install cargo-criterion
- name: Run benchmarks
run: just --dotenv-filename bench.env gpu-bench fibonacci_lem
run: just --dotenv-filename bench.env gpu-bench fibonacci
working-directory: ${{ github.workspace }}/benches
# TODO: Prettify labels for easier viewing
# Compress the benchmark file and metadata for later analysis
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bench-pr-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- uses: boa-dev/criterion-compare-action@v3
with:
# Optional. Compare only this benchmark target
benchName: "fibonacci_lem"
benchName: "fibonacci"
# Needed. The name of the branch to compare with
branchName: ${{ github.ref_name }}

Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
- uses: boa-dev/criterion-compare-action@v3
with:
# Optional. Compare only this benchmark target
benchName: "fibonacci_lem"
benchName: "fibonacci"
# Optional. Features activated in the benchmark
features: "cuda"
# Needed. The name of the branch to compare with
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/merge-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,15 @@ jobs:
run: echo "BASE_REF=$(git rev-parse HEAD)" | tee -a $GITHUB_ENV
working-directory: ${{ github.workspace }}/master
- name: Run GPU bench on base branch
run: just --dotenv-filename bench.env gpu-bench fibonacci_lem
run: just --dotenv-filename bench.env gpu-bench fibonacci
working-directory: ${{ github.workspace }}/master/benches
- name: Copy bench output to PR branch
run: |
mkdir -p target
cp -r master/target/criterion target
cp master/${{ env.BASE_REF }}.json .
- name: Run GPU bench on PR branch
run: just --dotenv-filename bench.env gpu-bench fibonacci_lem
run: just --dotenv-filename bench.env gpu-bench fibonacci
working-directory: ${{ github.workspace }}/benches
# Create a `criterion-table` and write in commit comment
- name: Run `criterion-table`
Expand Down
16 changes: 0 additions & 16 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -167,34 +167,18 @@ debug-assertions = false
name = "end2end"
harness = false

[[bench]]
name = "end2end_lem"
harness = false

[[bench]]
name = "fibonacci"
harness = false

[[bench]]
name = "fibonacci_lem"
harness = false

[[bench]]
name = "synthesis"
harness = false

[[bench]]
name = "synthesis_lem"
harness = false

[[bench]]
name = "sha256"
harness = false

[[bench]]
name = "sha256_lem"
harness = false

[[bench]]
name = "public_params"
harness = false
Expand Down
Loading

0 comments on commit 9e9398e

Please sign in to comment.