Skip to content

Commit

Permalink
Changes to trigger wan perf test run manually
Browse files Browse the repository at this point in the history
  • Loading branch information
vgmahajanshetty committed Dec 20, 2024
1 parent 94516fa commit c8d185c
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/wan-perf.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: WAN Perf

#on:
on:
workflow_dispatch:
# push:
# branches:
# - main
Expand All @@ -18,10 +19,6 @@ name: WAN Perf
# - src/platform/*
# - src/perf/*
# - submodules/openssl/*

on:
workflow_dispatch:

concurrency:
# Cancel any workflow currently in progress for the same PR.
# Allow running concurrently with any other commits.
Expand Down Expand Up @@ -95,12 +92,10 @@ jobs:
name: bin
path: artifacts/bin
- name: Run WAN Perf (QUIC only)
#if: ${{ github.event_name == 'pull_request' }}
if: ${{ github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}
shell: pwsh
run: scripts/emulated-performance.ps1 -Debug -Protocol QUIC -LogProfile Performance.Light -NoDateLogDir -NumIterations ${{ env.iterations }} -DurationMs ${{ env.duration }} -Pacing ${{ env.pacing }} -BottleneckMbps ${{ matrix.rate }} -RttMs ${{ matrix.rtt }} -BottleneckQueueRatio ${{ matrix.queueRatio }} -RandomLossDenominator ${{ env.loss }} -RandomReorderDenominator ${{ env.reorder }} -ReorderDelayDeltaMs ${{ env.delay }} -BaseRandomSeed ${{ env.seed }} -CongestionControl ${{ env.congestionControl }}
- name: Run WAN Perf (QUIC + TCP)
#if: ${{ github.event_name != 'pull_request' }}
if: ${{ github.event_name != 'pull_request' && github.event_name != 'workflow_dispatch' }}
shell: pwsh
run: scripts/emulated-performance.ps1 -Debug -Protocol ('QUIC','TCPTLS') -LogProfile Performance.Light -NoDateLogDir -NumIterations ${{ env.iterations }} -DurationMs ${{ env.duration }} -Pacing ${{ env.pacing }} -BottleneckMbps ${{ matrix.rate }} -RttMs ${{ matrix.rtt }} -BottleneckQueueRatio ${{ matrix.queueRatio }} -RandomLossDenominator ${{ env.loss }} -RandomReorderDenominator ${{ env.reorder }} -ReorderDelayDeltaMs ${{ env.delay }} -BaseRandomSeed ${{ env.seed }} -CongestionControl ${{ env.congestionControl }}
Expand Down

0 comments on commit c8d185c

Please sign in to comment.