-
Notifications
You must be signed in to change notification settings - Fork 360
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
240 changed files
with
33,501 additions
and
1,913 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Benchmarking Tests at Scale | ||
on: | ||
pull_request: | ||
branches: | ||
- "main" | ||
- "release/v*" | ||
workflow_dispatch: | ||
inputs: | ||
rps: | ||
description: "The target requests-per-second rate. Default: 10000" | ||
default: '10000' | ||
type: string | ||
required: false | ||
connections: | ||
description: "The maximum allowed number of concurrent connections per event loop. HTTP/1 only. Default: 100." | ||
default: '100' | ||
type: string | ||
required: false | ||
duration: | ||
description: "The number of seconds that the test should run. Default: 90." | ||
default: '90' | ||
type: string | ||
required: false | ||
cpu_limits: | ||
description: "The CPU resource limits for the envoy gateway, in unit 'm'. Default: 1000." | ||
default: '1000' | ||
type: string | ||
required: false | ||
memory_limits: | ||
description: "The memory resource limits for the envoy gateway, in unit 'Mi'. Default: 1024." | ||
default: '1024' | ||
type: string | ||
required: false | ||
|
||
jobs: | ||
benchmark-test: | ||
name: Benchmark Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: ./tools/github-actions/setup-deps | ||
|
||
- name: Run Benchmark tests | ||
env: | ||
KIND_NODE_TAG: v1.28.0 | ||
IMAGE_PULL_POLICY: IfNotPresent | ||
BENCHMARK_RPS: ${{ github.event.inputs.rps || 10000 }} | ||
BENCHMARK_CONNECTIONS: ${{ github.event.inputs.connections || 100 }} | ||
BENCHMARK_DURATION: ${{ github.event.inputs.duration || 90 }} | ||
BENCHMARK_CPU_LIMITS: ${{ github.event.inputs.cpu_limits || 1000 }} | ||
BENCHMARK_MEMORY_LIMITS: ${{ github.event.inputs.memory_limits || 2048 }} | ||
run: make benchmark | ||
|
||
- name: Read Benchmark report | ||
run: cat test/benchmark/benchmark_report.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.