Skip to content

Commit

Permalink
Prep for review
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelburnham committed Oct 31, 2024
1 parent 1cbdd59 commit fda5c6d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 61 deletions.
2 changes: 1 addition & 1 deletion .github/actions/bench/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ runs:
run: |
COMMIT=$(git rev-parse HEAD)
ID=${{ steps.commit-comment.outputs.comment-id }}
echo "[Commit comment](https://github.com/${{ github.repository }}/commit/$COMMIT#commit-comment-$ID)" | tee -a summary.md
echo "[Commit comment](https://github.com/${{ github.repository }}/commit/$COMMIT#commitcomment-$ID)" | tee -a summary.md
echo "report<<EOF" >> $GITHUB_OUTPUT
cat summary.md >> $GITHUB_OUTPUT
Expand Down
60 changes: 0 additions & 60 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,63 +201,3 @@ jobs:
# Ignored if `type: private`
topic: "${{ env.TOPIC }}"
content: "${{ steps.run-benchmark.outputs.report }}"


benchmark-test:
name: LC bench (test)
runs-on: warp-custom-r7iz-metal-32xl
strategy:
fail-fast: false
matrix:
include:
- light-client: aptos
benchmark: inclusion
- light-client: aptos
benchmark: epoch_change
- light-client: ethereum
benchmark: inclusion
- light-client: ethereum
benchmark: committee_change
- light-client: kadena
benchmark: spv
- light-client: kadena
benchmark: longest_chain
steps:
- uses: actions/checkout@v4
with:
repository: argumentcomputer/ci-workflows
- uses: ./.github/actions/ci-env
- uses: actions/checkout@v4
- name: Setup CI
uses: ./.github/actions/setup
- name: Set env
run: |
# Default benchmark settings optimized for light clients, can be overwritten with `env` input
echo "RUSTFLAGS=-C target-cpu=native --cfg tokio_unstable -C opt-level=3" | tee -a $GITHUB_ENV
echo "SHARD_SIZE=4194304" | tee -a $GITHUB_ENV
echo "SHARD_BATCH_SIZE=0" | tee -a $GITHUB_ENV
echo "RECONSTRUCT_COMMITMENTS=false" | tee -a $GITHUB_ENV
echo "SHARD_CHUNKING_MULTIPLIER=1" | tee -a $GITHUB_ENV
echo "MODE=SNARK" | tee -a $GITHUB_ENV
- name: Set Zulip env
run: |
echo "TYPE=private" | tee -a $GITHUB_ENV
echo "STREAM=11" | tee -a $GITHUB_ENV
echo "TOPIC=" | tee -a $GITHUB_ENV
- name: Run benchmark and create report
id: run-benchmark
uses: ./.github/actions/bench
with:
light-client: ${{ matrix.light-client }}
benchmark: ${{ matrix.benchmark }}
- name: Send report to Zulip
uses: zulip/github-actions-zulip/send-message@v1
with:
api-key: ${{ secrets.ZULIP_API_KEY }}
email: "[email protected]"
organization-url: "https://zulip.argument.xyz"
to: "${{ env.STREAM }}"
type: "${{ env.TYPE }}"
# Ignored if `type: private`
topic: "${{ env.TOPIC }}"
content: "${{ steps.run-benchmark.outputs.report }}"

0 comments on commit fda5c6d

Please sign in to comment.