Merge pull request #1557 from glimmerjs/cleanup-this-fallback #927
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PerformanceCheck | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
env: | |
EXPERIMENT_BRANCH_NAME: ${{ github.head_ref || github.ref_name }} | |
CONTROL_BRANCH_NAME: 'main' | |
FIDELITY: 100 | |
THROTTLE: 4 | |
FORK_NAME: ${{ github.event.pull_request.head.repo.full_name }} | |
jobs: | |
master-krausest-comparison: | |
name: Glimmer Krausest Benchmark | |
runs-on: ubuntu-latest | |
timeout-minutes: 70 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: wyvox/action-setup-pnpm@v3 | |
with: | |
node-version: '20.1.0' | |
- name: RUN | |
run: pnpm run benchmark:setup | |
- name: Remove unused artifacts | |
run: rm -rf ./tracerbench-results/traces && rm -rf ./tracerbench-results/traces.zip | |
- name: Upload Tracerbench Artifacts | |
if: failure() || success() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Trace Artifacts | |
path: tracerbench-results | |
- name: Write message | |
uses: mshick/add-pr-comment@v2 | |
with: | |
message-path: "tracerbench-results/msg.txt" | |
update-only: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |