Replace the remaining Plutus Tx references with Plinth (#6867) #973
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
# This workflow runs a suite of benchmarks and detects performance regressions. | |
# The benchmark charts are live at https://plutus.cardano.intersectmbo.org/dev/bench | |
# The benchmark data is available at https://plutus.cardano.intersectmbo.org/dev/bench/data.js | |
# | |
# This workflow runs on push to master, and on pull requests to the release/* branches, | |
# and it can also be triggered manually. | |
name: "🩺 Longitudinal Benchmark" | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- 'release/*' | |
permissions: | |
# Deployments permission to deploy GitHub pages website | |
deployments: write | |
# Contents permission to update benchmark contents in gh-pages branch | |
contents: write | |
jobs: | |
run: | |
name: Run | |
runs-on: [self-hosted, plutus-benchmark] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@main | |
- name: Run Benchmarks | |
env: | |
BENCHMARKS: "validation validation-decode nofib marlowe" | |
run: nix develop --no-warn-dirty --accept-flake-config --command bash ./scripts/run-longitudinal-benchmarks.sh | |
# We need this otherwise the next step will fail with: | |
# `pre-commit` not found. Did you forget to activate your virtualenv? | |
# This is because github-action-benchmark will call git commit outside nix develop. | |
- name: Disable Git Hooks | |
run: git config core.hooksPath no-hooks | |
- name: Deploy Results | |
uses: benchmark-action/[email protected] | |
with: | |
name: Plutus Benchmarks | |
tool: 'customSmallerIsBetter' | |
output-file-path: output.json | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
# Push and deploy GitHub pages branch automatically | |
auto-push: true | |
# Enable alert commit comment | |
comment-on-alert: true | |
# Mention @IntersectMBO/plutus-core in the commit comment so that the | |
# team is notified via GitHub. | |
alert-comment-cc-users: '@IntersectMBO/plutus-core' | |
# It is a ratio indicating how worse the current benchmark result is. | |
# For example, if we now get 110 ns/iter and previously got 100 ns/iter, it got 10% worse. | |
# In this case we alert if it gets 5% worse. | |
alert-threshold: '105%' |