Skip to content

Conversation

@lukaszstolarczuk
Copy link
Contributor

No description provided.

Comment on lines 253 to 317
echo "::endgroup::"
echo "::group::compare_results"
python3 ./devops/scripts/benchmarks/compare.py to_hist \
--avg-type EWMA \
--cutoff "$(date -u -d '7 days ago' +'%Y%m%d_%H%M%S')" \
--name "$SAVE_NAME" \
--compare-file "./llvm-ci-perf-results/results/${SAVE_NAME}_${SAVE_TIMESTAMP}.json" \
--results-dir "./llvm-ci-perf-results/results/" \
--compare-file "${{ steps.results_repo.outputs.BENCHMARK_RESULTS_REPO_PATH }}/results/${SAVE_NAME}_${SAVE_TIMESTAMP}.json" \
--results-dir "${{ steps.results_repo.outputs.BENCHMARK_RESULTS_REPO_PATH }}/results/" \
--regression-filter '^[a-z_]+_sycl .* CPU count' \
--regression-filter-type 'SYCL benchmark (measured using CPU cycle count)' \
--verbose \
--produce-github-summary \
${{ inputs.dry_run == 'true' && '--dry-run' || '' }} \
echo "::endgroup::"

- name: Run benchmarks integration tests
shell: bash
if: ${{ github.event_name == 'pull_request' }}

Check failure

Code scanning / zizmor

dangerous use of environment file Error test

dangerous use of environment file
Copy link
Contributor

@sarnex sarnex Dec 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lukaszstolarczuk Do we need to do something about this (github security issue)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I fixed it, but I'm not sure if zizmor correctly showed me the issue.

Anyway, I will take another look at the zizmor alerts later on (I can see a few other alerts in the benchmark/action.yml file which are not displayed here - will take care of them in another PR).

@lukaszstolarczuk
Copy link
Contributor Author

@lukaszstolarczuk
Copy link
Contributor Author

@sarnex , can you please re-review?

@sarnex
Copy link
Contributor

sarnex commented Dec 4, 2025

Sorry I don't know how I missed so many pings

Copy link
Contributor

@sarnex sarnex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no major flags besides this one thing, in depth review left to benchmark team

Comment on lines 253 to 317
echo "::endgroup::"
echo "::group::compare_results"
python3 ./devops/scripts/benchmarks/compare.py to_hist \
--avg-type EWMA \
--cutoff "$(date -u -d '7 days ago' +'%Y%m%d_%H%M%S')" \
--name "$SAVE_NAME" \
--compare-file "./llvm-ci-perf-results/results/${SAVE_NAME}_${SAVE_TIMESTAMP}.json" \
--results-dir "./llvm-ci-perf-results/results/" \
--compare-file "${{ steps.results_repo.outputs.BENCHMARK_RESULTS_REPO_PATH }}/results/${SAVE_NAME}_${SAVE_TIMESTAMP}.json" \
--results-dir "${{ steps.results_repo.outputs.BENCHMARK_RESULTS_REPO_PATH }}/results/" \
--regression-filter '^[a-z_]+_sycl .* CPU count' \
--regression-filter-type 'SYCL benchmark (measured using CPU cycle count)' \
--verbose \
--produce-github-summary \
${{ inputs.dry_run == 'true' && '--dry-run' || '' }} \
echo "::endgroup::"

- name: Run benchmarks integration tests
shell: bash
if: ${{ github.event_name == 'pull_request' }}
Copy link
Contributor

@sarnex sarnex Dec 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lukaszstolarczuk Do we need to do something about this (github security issue)

@lukaszstolarczuk
Copy link
Contributor Author

I started another dispatch to be sure I didn't break anything: https://github.com/intel/llvm/actions/runs/20140113209

export SAVE_SUFFIX=$SAVE_SUFFIX
echo "SAVE_SUFFIX=$SAVE_SUFFIX" >> $GITHUB_ENV
export MACHINE_TYPE=$MACHINE_TYPE
echo "MACHINE_TYPE=$MACHINE_TYPE" >> $GITHUB_ENV
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: GPU_TYPE would be more accurate here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

fi
- name: Cache changes and upload github summary
export LLVM_BENCHMARKS_UNIT_TESTING=1
export COMPUTE_BENCHMARKS_BUILD_PATH=$BENCH_WORKDIR/compute-benchmarks-build
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not putting these two in env section?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@lukaszstolarczuk
Copy link
Contributor Author

lukaszstolarczuk commented Dec 12, 2025

@intel/llvm-gatekeepers, changes are only in benchmarks' workflow - issues in tests are not related. Please merge

@kswiecicki
Copy link
Contributor

Failing e2e tests are unrelated, this patch contains only workflow changes. I'll merge it.

@kswiecicki kswiecicki merged commit 666693d into intel:sycl Dec 12, 2025
39 of 41 checks passed
@lukaszstolarczuk lukaszstolarczuk deleted the workflow-bench branch December 12, 2025 12:02
PatKamin added a commit to PatKamin/llvm that referenced this pull request Dec 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants