Merge pull request #176 from benknoble/test-sandboxed-eval #161
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: benchmarks | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
benchmark: | |
name: Report benchmarks for Qi forms | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Install Racket | |
uses: Bogdanp/[email protected] | |
with: | |
architecture: 'x64' | |
distribution: 'full' | |
variant: 'CS' | |
version: 'stable' | |
- name: Install Package and its Dependencies | |
run: make install | |
- name: Install SDK | |
run: make install-sdk | |
- name: Run benchmark | |
shell: 'bash --noprofile --norc -eo pipefail {0}' | |
run: make performance-report | tee benchmarks.txt | |
- name: Store benchmark result | |
uses: benchmark-action/github-action-benchmark@v1 | |
with: | |
name: Qi Performance Trends | |
tool: 'customSmallerIsBetter' | |
gh-pages-branch: gh-pages | |
benchmark-data-dir-path: benchmarks | |
output-file-path: benchmarks.txt | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
auto-push: true | |
# Show alert with commit comment on detecting possible performance regression | |
alert-threshold: '200%' | |
comment-on-alert: true | |
fail-on-alert: true |