Skip to content

Commit

Permalink
[WIP] Fix networking-benchmarks (#7036)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvicsam authored Jan 3, 2025
1 parent 659f484 commit 721f6d9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: ./.github/workflows/reusable-preflight.yml

build:
timeout-minutes: 80
timeout-minutes: 50
needs: [preflight]
runs-on: ${{ needs.preflight.outputs.RUNNER_BENCHMARK }}
container:
Expand All @@ -27,12 +27,8 @@ jobs:
matrix:
features:
[
{
bench: "notifications_protocol",
},
{
bench: "request_response_protocol",
},
{ bench: "notifications_protocol" },
{ bench: "request_response_protocol" },
]
steps:
- name: Checkout
Expand All @@ -42,7 +38,7 @@ jobs:
id: run-benchmarks
run: |
mkdir -p ./charts
forklift cargo bench -p sc-network --bench ${{ matrix.features.bench }} -- --output-format bencher | grep "^test" | tee ./charts/networking-bench.txt || echo "Benchmarks failed"
forklift cargo bench -p sc-network --bench ${{ matrix.features.bench }} -- --output-format bencher | grep "^test" | tee ./charts/${{ matrix.features.bench }}.txt || echo "Benchmarks failed"
ls -lsa ./charts
- name: Upload artifacts
Expand All @@ -69,7 +65,13 @@ jobs:
- name: Download artifacts
uses: actions/[email protected]
with:
name: networking-bench-${{ github.sha }}
name: notifications_protocol-${{ github.sha }}
path: ./charts

- name: Download artifacts
uses: actions/[email protected]
with:
name: request_response_protocol-${{ github.sha }}
path: ./charts

- name: Setup git
Expand Down
File renamed without changes.

0 comments on commit 721f6d9

Please sign in to comment.