Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 0 additions & 48 deletions .github/workflows/pipeline-perf-test-continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,6 @@ jobs:
cd tools/pipeline_perf_test
python orchestrator/run_orchestrator.py --config test_suites/integration/continuous/100klrps-docker.yaml

- name: Run idle state performance tests
run: |
cd tools/pipeline_perf_test
./scripts/run-idle-state-tests.sh --output-json results/idle-memory-scaling.json \
| tee idle-memory-scaling-report.txt
# Add memory scaling report to job summary
echo "### Idle State Memory Scaling Analysis" >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
# Extract just the analysis section from the report
sed -n '/^=.*MEMORY SCALING/,/^=\{10,\}$/p' idle-memory-scaling-report.txt >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY

- name: Run passthrough performance test
run: |
cd tools/pipeline_perf_test
Expand All @@ -85,18 +73,6 @@ jobs:
name: benchmark-results-pipeline
path: tools/pipeline_perf_test/results/integration/gh-actions-benchmark/*.json

- name: Upload benchmark results for processing (Idle State)
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: benchmark-results-idle-state
path: tools/pipeline_perf_test/results/idle_state*/gh-actions-benchmark/*.json

- name: Upload idle state memory scaling metrics
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: benchmark-results-idle-memory-scaling
path: tools/pipeline_perf_test/results/idle-memory-scaling.json

- name: Upload benchmark results for processing (Passthrough)
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
Expand Down Expand Up @@ -126,13 +102,6 @@ jobs:
merge-multiple: true
path: results-pipeline

- name: Download benchmark artifacts (Idle State)
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
pattern: benchmark-results-idle-state*
merge-multiple: true
path: results-idle-state

- name: Download benchmark artifacts (Passthrough)
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
Expand All @@ -144,10 +113,6 @@ jobs:
run: |
bash ./.github/workflows/scripts/consolidate-benchmarks.sh results-pipeline output-pipeline.json

- name: Consolidate idle state benchmark data
run: |
bash ./.github/workflows/scripts/consolidate-benchmarks.sh results-idle-state output-idle-state.json

- name: Consolidate passthrough benchmark data
run: |
bash ./.github/workflows/scripts/consolidate-benchmarks.sh results-passthrough output-passthrough.json
Expand All @@ -164,18 +129,6 @@ jobs:
auto-push: true
save-data-file: true

- name: Update idle state benchmark data and deploy to GitHub Pages
uses: benchmark-action/github-action-benchmark@a60cea5bc7b49e15c1f58f411161f99e0df48372 # v1.22.0
with:
tool: "customSmallerIsBetter"
output-file-path: output-idle-state.json
gh-pages-branch: benchmarks
max-items-in-chart: 100
github-token: ${{ secrets.GITHUB_TOKEN }}
benchmark-data-dir-path: "docs/benchmarks/continuous-idle-state"
auto-push: true
save-data-file: true

- name: Update passthrough benchmark data and deploy to GitHub Pages
uses: benchmark-action/github-action-benchmark@a60cea5bc7b49e15c1f58f411161f99e0df48372 # v1.22.0
with:
Expand All @@ -192,5 +145,4 @@ jobs:
run: |
echo "### Benchmark Results" >> $GITHUB_STEP_SUMMARY
echo "[View the pipeline benchmark results here](https://open-telemetry.github.io/otel-arrow/benchmarks/continuous/)" >> $GITHUB_STEP_SUMMARY
echo "[View the idle state benchmark results here](https://open-telemetry.github.io/otel-arrow/benchmarks/continuous-idle-state/)" >> $GITHUB_STEP_SUMMARY
echo "[View the passthrough benchmark results here](https://open-telemetry.github.io/otel-arrow/benchmarks/continuous-passthrough/)" >> $GITHUB_STEP_SUMMARY
72 changes: 72 additions & 0 deletions .github/workflows/pipeline-perf-test-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,19 @@ jobs:
cd tools/pipeline_perf_test
python orchestrator/run_orchestrator.py --config test_suites/integration/nightly/batch-processor-docker.yaml

- name: Run idle state performance tests
if: ${{ !cancelled() }}
run: |
cd tools/pipeline_perf_test
./scripts/run-idle-state-tests.sh --output-json results/idle-memory-scaling.json \
| tee idle-memory-scaling-report.txt
# Add memory scaling report to job summary
echo "### Idle State Memory Scaling Analysis" >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
# Extract just the analysis section from the report
sed -n '/^=.*MEMORY SCALING/,/^=\{10,\}$/p' idle-memory-scaling-report.txt >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY

- name: Run saturation/scaling performance test suite
if: ${{ !cancelled() }}
run: |
Expand Down Expand Up @@ -176,6 +189,20 @@ jobs:
name: saturation-nightly-results
path: tools/pipeline_perf_test/results/continuous_saturation*/gh-actions-benchmark/*.json

- name: Upload idle state results for processing
if: ${{ !cancelled() }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: idle-state-nightly-results
path: tools/pipeline_perf_test/results/idle_state*/gh-actions-benchmark/*.json

- name: Upload idle state memory scaling metrics
if: ${{ !cancelled() }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: idle-memory-scaling-nightly-results
path: tools/pipeline_perf_test/results/idle-memory-scaling.json

- name: Upload scaling efficiency metrics
if: ${{ !cancelled() }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
Expand Down Expand Up @@ -264,6 +291,20 @@ jobs:
merge-multiple: true
path: saturation_results

- name: Download idle state artifacts
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
pattern: idle-state-nightly-results*
merge-multiple: true
path: idle_state_results

- name: Download idle memory scaling artifacts
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
pattern: idle-memory-scaling-nightly-results*
merge-multiple: true
path: idle_memory_scaling_results

- name: Download scaling efficiency metrics
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
Expand Down Expand Up @@ -316,6 +357,11 @@ jobs:
run: |
bash ./.github/workflows/scripts/consolidate-benchmarks.sh saturation_results saturation_output.json

- name: Consolidate idle state benchmark data
if: ${{ !cancelled() }}
run: |
bash ./.github/workflows/scripts/consolidate-benchmarks.sh idle_state_results idle_state_output.json

- name: Update benchmark data
if: ${{ !cancelled() && hashFiles('syslog_output.json') != '' }}
uses: benchmark-action/github-action-benchmark@a60cea5bc7b49e15c1f58f411161f99e0df48372 # v1.22.0
Expand Down Expand Up @@ -433,6 +479,32 @@ jobs:
auto-push: true
save-data-file: true

- name: Update idle state benchmark data
if: ${{ !cancelled() && hashFiles('idle_state_output.json') != '' }}
uses: benchmark-action/github-action-benchmark@a60cea5bc7b49e15c1f58f411161f99e0df48372 # v1.22.0
with:
tool: "customSmallerIsBetter"
output-file-path: idle_state_output.json
gh-pages-branch: benchmarks
max-items-in-chart: 100
github-token: ${{ secrets.GITHUB_TOKEN }}
benchmark-data-dir-path: "docs/benchmarks/nightly/idle-state"
auto-push: true
save-data-file: true

- name: Update idle state memory scaling data
if: ${{ !cancelled() && hashFiles('idle_memory_scaling_results/idle-memory-scaling.json') != '' }}
uses: benchmark-action/github-action-benchmark@a60cea5bc7b49e15c1f58f411161f99e0df48372 # v1.22.0
with:
tool: "customSmallerIsBetter"
output-file-path: idle_memory_scaling_results/idle-memory-scaling.json
gh-pages-branch: benchmarks
max-items-in-chart: 100
github-token: ${{ secrets.GITHUB_TOKEN }}
benchmark-data-dir-path: "docs/benchmarks/nightly/idle-memory-scaling"
auto-push: true
save-data-file: true

- name: Update scaling efficiency data
if: ${{ !cancelled() && hashFiles('scaling_efficiency_results/scaling-efficiency.json') != '' }}
uses: benchmark-action/github-action-benchmark@a60cea5bc7b49e15c1f58f411161f99e0df48372 # v1.22.0
Expand Down
Loading