Skip to content

Commit ccbc9a1

Browse files
authored
Revert "RFC30: Compile time benchmark" (#2756)
## Motivation and Context There seems to be some problem which causes this CI job to fail. https://github.com/awslabs/smithy-rs/actions/runs/5209247728/jobs/9398874499 Reverting smithy-rs#2617 until we have a clearer picture of why and how to fix.
1 parent a6c3aba commit ccbc9a1

File tree

3 files changed

+1
-111
lines changed

3 files changed

+1
-111
lines changed

.github/workflows/pull-request-bot.yml

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -135,45 +135,10 @@ jobs:
135135
run: |
136136
aws s3 cp target/doc "s3://${S3_BUCKET_NAME}/docs/${{ inputs.head_revision }}" --recursive
137137
138-
compiletime-benchmark:
139-
runs-on: ubuntu-latest
140-
name: Run Compiletime Benchmark
141-
permissions:
142-
id-token: write
143-
contents: read
144-
pull-requests: write
145-
outputs:
146-
compiletime-benchmark: ${{ steps.compiletime-benchmark.outputs.compiletime-benchmark }}
147-
steps:
148-
- uses: actions/checkout@v3
149-
- uses: actions/cache@v3
150-
name: Gradle Cache
151-
with:
152-
path: |
153-
~/.gradle/caches
154-
~/.gradle/wrapper
155-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
156-
restore-keys: |
157-
${{ runner.os }}-gradle-
158-
# JDK is needed to generate code
159-
- name: Set up JDK
160-
uses: actions/setup-java@v3
161-
with:
162-
distribution: corretto
163-
java-package: jdk
164-
java-version: ${{ env.java_version }}
165-
- uses: dtolnay/rust-toolchain@master
166-
with:
167-
toolchain: ${{ env.rust_version }}
168-
- name: run benchmark
169-
id: run-compiletime-benchmark
170-
run: bash tools/ci-scripts/compiletime-benchmark && cat /tmp/compiletime-benchmark.md >> "$GITHUB_OUTPUT"
171-
172138
post-bot-comment:
173139
needs:
174140
- generate-diff
175141
- generate-doc-preview
176-
- compiletime-benchmark
177142
runs-on: ubuntu-latest
178143
name: Post bot comment
179144
permissions:
@@ -199,8 +164,6 @@ jobs:
199164
issue_number: ${{ inputs.issue_number }},
200165
owner: context.repo.owner,
201166
repo: context.repo.repo,
202-
body: '${{ steps.compiletime-benchmark.outputs.compiletime-benchmark }}\n\n' +
203-
'${{ steps.bot-messages.outputs.codegen-diff }}\n\n' +
167+
body: '${{ steps.bot-messages.outputs.codegen-diff }}\n\n' +
204168
'${{ needs.generate-doc-preview.outputs.bot-message }}\n\n'
205-
206169
})

tools/ci-scripts/compiletime-benchmark

Lines changed: 0 additions & 33 deletions
This file was deleted.

tools/compiletime-benchmark/format.py

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)