removed dead code and added initial benchmarking script #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Benchmarks | |
on: push | |
# push: | |
# branches: | |
# - master | |
env: | |
CARGO_TERM_COLOR: always | |
permissions: | |
# deployments permission to deploy GitHub pages website | |
deployments: write | |
# contents permission to update benchmark contents in gh-pages branch | |
contents: write | |
# cancel in-progress job when a new push is performed | |
concurrency: | |
group: ci-bench-${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
benchmark: | |
name: Performance benchmarks | |
# strategy: | |
# matrix: | |
# # version: [4.12.0, 4.14.1] | |
# version: [4.14.1] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- name: Run benchmark | |
run: | | |
cd examples | |
./run_benchmarks.sh | |
cd .. |