Skip to content

Benchmark regression check #78

Benchmark regression check

Benchmark regression check #78

Workflow file for this run

name: Benchmark regression check
on:
pull_request:
branches: [main]
paths:
- "sdk/**"
- "indexer/**"
- "scripts/benchmark.ts"
- ".github/workflows/benchmark.yml"
schedule:
- cron: "0 6 * * 1"
workflow_dispatch:
jobs:
benchmark:
if: ${{ false }}
runs-on: namespace-profile-nursca
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "22"
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: "9.0.0"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run benchmarks
run: pnpm benchmark
env:
STELLAR_RPC_URL: https://soroban-testnet.stellar.org
INDEXER_URL: ${{ vars.STAGING_INDEXER_URL || 'http://localhost:3000' }}
BENCHMARK_ITERATIONS: "3"
- name: Upload benchmark results
if: always()
uses: actions/upload-artifact@v4
with:
name: benchmark-results
path: docs/benchmarks.json