increased max number of GA rate classes from 5 to 18 #280
Workflow file for this run
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: Benchmark | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
benchmark: | |
name: Run Javascript Benchmark | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
- name: Run benchmark | |
run: | |
sudo apt-get update; | |
sudo apt-get install nodejs -y; | |
npm i --save benchmark; | |
npm i --save underscore; | |
npm install --no-optional; | |
cmake .; | |
make -j all; | |
node bench.js | tee output.txt; | |
git stash save; | |
git config --local user.email "action@github.com"; | |
git config --local user.name "GitHub Action"; | |
- name: Store benchmark result | |
uses: veg/github-action-benchmark@v1 | |
with: | |
name: Benchmark.js Benchmark | |
tool: 'benchmarkjsInverse' | |
output-file-path: ./output.txt | |
# Use personal access token instead of GITHUB_TOKEN due to https://git.luolix.topmunity/t5/GitHub-Actions/Github-action-not-triggering-gh-pages-upon-push/td-p/26869/highlight/false | |
github-token: ${{ secrets.benchmark }} | |
auto-push: true | |
# Show alert with commit comment on detecting possible performance regression | |
alert-threshold: '200%' | |
comment-on-alert: true | |
fail-on-alert: true | |
alert-comment-cc-users: '@klevitz' | |