Skip to content

Split action benchmark comparison and push to gh-pages #4130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 28, 2025
Merged
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
11 changes: 9 additions & 2 deletions .github/workflows/c-chain-reexecution-benchmark.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: C-Chain Re-Execution Benchmark

on:
pull_request:
workflow_dispatch:
inputs:
start-block:
Expand Down Expand Up @@ -60,7 +61,7 @@ jobs:
with:
path: ./cache
key: ${{ runner.os }}-reexecute-cchain-range-benchmark.json
- name: Compare Benchmark Results
- name: Compare Benchmark Result
Copy link
Preview

Copilot AI Jul 28, 2025

Choose a reason for hiding this comment

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

[nitpick] The step name should be 'Compare Benchmark Results' (plural) to be consistent with the original naming and because it's comparing multiple benchmark results.

Suggested change
- name: Compare Benchmark Result
- name: Compare Benchmark Results

Copilot uses AI. Check for mistakes.

uses: benchmark-action/github-action-benchmark@v1
with:
tool: 'go'
Expand All @@ -73,4 +74,10 @@ jobs:
auto-push: false
- name: Push Benchmark Result
if: github.event_name == 'schedule'
run: git push origin gh-pages
uses: benchmark-action/github-action-benchmark@v1
with:
tool: 'go'
output-file-path: ${{ github.workspace }}/reexecute-cchain-range-benchmark-res.txt
external-data-json-path: ./cache/${{ runner.os }}-reexecute-cchain-range-benchmark.json
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true