Skip to content
Snippets Groups Projects
Unverified Commit 721f6d97 authored by Alexander Samusev's avatar Alexander Samusev Committed by GitHub
Browse files

[WIP] Fix networking-benchmarks (#7036)

cc https://github.com/paritytech/ci_cd/issues/1094
parent 659f4848
Branches
No related merge requests found
Pipeline #510606 waiting for manual action with stages
in 1 hour, 11 minutes, and 1 second
......@@ -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:
......@@ -27,12 +27,8 @@ jobs:
matrix:
features:
[
{
bench: "notifications_protocol",
},
{
bench: "request_response_protocol",
},
{ bench: "notifications_protocol" },
{ bench: "request_response_protocol" },
]
steps:
- name: Checkout
......@@ -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
......@@ -69,7 +65,13 @@ jobs:
- name: Download artifacts
uses: actions/download-artifact@v4.1.8
with:
name: networking-bench-${{ github.sha }}
name: notifications_protocol-${{ github.sha }}
path: ./charts
- name: Download artifacts
uses: actions/download-artifact@v4.1.8
with:
name: request_response_protocol-${{ github.sha }}
path: ./charts
- name: Setup git
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment