Skip to content

Commit

Permalink
feat(benchmarks): use compare recipe instead of run on prs
Browse files Browse the repository at this point in the history
  • Loading branch information
gfyrag committed Jan 17, 2025
1 parent 221c26d commit 3c9b0cc
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,24 @@ jobs:
--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
path: test/performance/report
BenchmarkCompare:
runs-on: "github-001"
if: contains(github.event.pull_request.labels.*.name, 'benchmarks')
steps:
- uses: 'actions/checkout@v4'
with:
fetch-depth: 0
- uses: extractions/setup-just@v2
- run: >
just
--justfile ./test/performance/justfile
--working-directory ./test/performance
compare . 5 10s 5
- uses: actions/upload-artifact@v4
with:
name: comparison
path: test/performance/report/benchmark-comparison.txt

0 comments on commit 3c9b0cc

Please sign in to comment.