Skip to content

feat: remove earthly usage for benchmarks #635

feat: remove earthly usage for benchmarks

feat: remove earthly usage for benchmarks #635

Workflow file for this run

name: Benchmark
on:
workflow_dispatch:
pull_request:
types: [ assigned, opened, synchronize, reopened, labeled ]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
Benchmark:
runs-on: "github-001"
if: contains(github.event.pull_request.labels.*.name, 'benchmarks') || github.ref == 'refs/heads/main'
steps:
- uses: 'actions/checkout@v4'
with:
fetch-depth: 0
- uses: extractions/setup-just@v2
- run: >
just
--justfile ./test/performance/justfile
--working-directory ./test/performance
run . 5 10s 1 http://localhost:3068
- run: >
just
--justfile ./test/performance/justfile
--working-directory ./test/performance
graphs
- run: kill -9 $(ps aux | grep "ledger serve"| grep -v "grep" | awk '{print $2}')
if: always()
- uses: actions/upload-artifact@v4
with:
name: graphs
path: test/performance/report