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 9934866 commit 03b1b4c
Showing 1 changed file with 24 additions and 19 deletions.
43 changes: 24 additions & 19 deletions .github/workflows/wan-perf.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
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/*

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:

concurrency:
# Cancel any workflow currently in progress for the same PR.
Expand Down Expand Up @@ -92,11 +95,13 @@ jobs:
name: bin
path: artifacts/bin
- name: Run WAN Perf (QUIC only)
if: ${{ github.event_name == 'pull_request' }}
#if: ${{ github.event_name == 'pull_request' }}
if: ${{ 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' }}
if: ${{ 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 03b1b4c

Please sign in to comment.