Enable Nyrkiö also on PRs. (Non-blocking mode.)

- Rename push_only.yml workflow to rust_perf.yml
- Move the 'bench' task from rust.yml to rust_perf.yml
- More Nyrkio configuration options exposed:
  Team support (everyone in gh/tursodatabase can access Nyrkiö)
  Public results
  Alerting options: Comment on PR, if change detected, don't fail task
This commit is contained in:
Henrik Ingo
2025-02-08 18:37:49 +02:00
parent 49a4d45c92
commit 633a56749a

View File

@@ -22,8 +22,13 @@ jobs:
# - name: Install dependencies
# run: npm install && npm run build
- name: Bench
run: cargo bench 2>&1 | tee output.txt
# - name: Bench
# run: cargo bench 2>&1 | tee output.txt
- name: Bench (fake)
run: |
pwd
ls
cp .github/data/limbo-cargo-output.txt output.txt
- name: Analyze benchmark result with Nyrkiö
uses: nyrkio/github-action-benchmark@HEAD
@@ -49,11 +54,16 @@ jobs:
never-fail: true
# Make results and change points public, so that any oss contributor can see them
nyrkio-public: true
nyrkio-api-root: https://nyrkio.com/api/v0
# Make results and change points public, so that any oss contributor can see them
nyrkio-settings-pvalue: 0.01%
nyrkio-settings-threshold: 2%
# Get yours from https://nyrkio.com/docs/getting-started
nyrkio-token: ${{ secrets.NYRKIO_JWT_TOKEN }}
nyrkio-settings-pvalue: 0.01%
nyrkio-settings-threshold: 1%
# Team support = results are visible and manageable to everyone in the same Github org
# nyrkio-org: tursodatabase