Skip to content

Commit

Permalink
Changes to trigger wan perf test run manually (#4719)
Browse files Browse the repository at this point in the history
* Changes to trigger wan perf test run manually

* Changes to trigger wan perf test run manually

* Update .github/workflows/wan-perf.yml

Co-authored-by: Nick Banks <[email protected]>

* Changes to trigger wan perf test run manually

---------

Co-authored-by: Nick Banks <[email protected]>
  • Loading branch information
vgmahajanshetty and nibanks authored Dec 22, 2024
1 parent 9934866 commit 0e74c3a
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/wan-perf.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
name: WAN Perf

on:
push:
branches:
- main
paths:
- .github/workflows/wan-perf.yml
- src/core/*
- src/platform/*
- src/perf/*
pull_request:
branches:
- main
paths:
- .github/workflows/wan-perf.yml
- src/core/*
- src/platform/*
- src/perf/*
- submodules/openssl/*

workflow_dispatch:
# push:
# branches:
# - main
# paths:
# - .github/workflows/wan-perf.yml
# - src/core/*
# - src/platform/*
# - src/perf/*
# pull_request:
# branches:
# - main
# paths:
# - .github/workflows/wan-perf.yml
# - src/core/*
# - src/platform/*
# - src/perf/*
# - submodules/openssl/*
concurrency:
# Cancel any workflow currently in progress for the same PR.
# Allow running concurrently with any other commits.
Expand Down Expand Up @@ -92,11 +92,11 @@ 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 }}
- name: Upload Results
Expand Down

0 comments on commit 0e74c3a

Please sign in to comment.