Skip to content

Commit

Permalink
Adding steps to create benchmark results
Browse files Browse the repository at this point in the history
  • Loading branch information
vibhansa-msft committed Feb 29, 2024
1 parent 8b6d44f commit d4d4554
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/perftest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,32 +15,53 @@ jobs:
timeout-minutes: 360

steps:
# Print the host info
- name: 'Host info'
run: hostnamectl

- name: "Install Dependencies"
# Install Fuse3
- name: "Install Fuse3"
run: |
sudo apt update
sudo apt-get clean
sudo apt-get update --fix-missing
sudo apt-get install fuse3 libfuse3-dev gcc -y
# Checkout main branch
- name: 'Checkout Main'
uses: actions/checkout@v4.1.1

# Install GoLang
- name: "Install Go"
run: |
./go_installer.sh ../
go version
working-directory: ${{ github.workspace }}

# Build Blobfuse2
- name: "Build Blobfuse2"
run: |
./build.sh
working-directory: ${{ github.workspace }}


# Run binary and validate the version
- name: "Validate Version"
run: |
./blobfuse2 --version
working-directory: ${{ github.workspace }}

- name: "Update Benchmark Results"
uses: benchmark-action/github-action-benchmark@v1
with:
output-file-path: benchmark/results.json
tool: 'customBiggerIsBetter'
alert-threshold: "200%"
max-items-in-chart: 50
github-token: ${{ secrets.GITHUB_TOKEN }}
fail-on-alert: true
auto-push: true
comment-on-alert: true
gh-pages-branch: "benchmarks"
benchmark-data-dir-path: bandwidth



0 comments on commit d4d4554

Please sign in to comment.