From 633a56749a60588d89219f50ef674be0c17bc50d Mon Sep 17 00:00:00 2001 From: Henrik Ingo Date: Sat, 8 Feb 2025 18:37:49 +0200 Subject: [PATCH] =?UTF-8?q?Enable=20Nyrki=C3=B6=20also=20on=20PRs.=20(Non-?= =?UTF-8?q?blocking=20mode.)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- .github/workflows/rust_perf.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust_perf.yml b/.github/workflows/rust_perf.yml index 2b9a57577..9d4a0bde3 100644 --- a/.github/workflows/rust_perf.yml +++ b/.github/workflows/rust_perf.yml @@ -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