Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Keep using checkout for base branch
  • Loading branch information
Hendrik van Antwerpen
Hendrik van Antwerpen committed Jul 28, 2023
commit a7e8b222d7764c0aecbe58cdfa42aa10615c44df
13 changes: 10 additions & 3 deletions .github/workflows/perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ env:
HEAD_DIR: head
HEAD_DB: head.sqlite
HEAD_ARTIFACT: head-perf-results
TEST_NAME: TypeScript-v4.9.5
TEST_NAME: TypeScript-4.9.5
TEST_REPO: microsoft/TypeScript
TEST_REF: v4.9.5
TEST_SRC: src/compiler
MASSIF_OUT: perf.out
MASSIF_REPORT: perf.txt
Expand All @@ -44,6 +46,7 @@ jobs:
ref: ${{ env.BASE_SHA }}
path: ${{ env.BASE_DIR }}
fetch-depth: 0
lfs: false
- name: Find last relevant base commit
run: |
printf 'BASE_SHA=%s\n' "$(git rev-list -1 ${{ env.BASE_SHA }} -- stack-graphs)" >> $GITHUB_ENV
Expand All @@ -55,6 +58,7 @@ jobs:
ref: ${{ env.HEAD_SHA }}
path: ${{ env.HEAD_DIR }}
fetch-depth: 0
lfs: false
- name: "Find last relevant head commit"
run: |
printf 'HEAD_SHA=%s\n' "$(git rev-list -1 ${{ env.HEAD_SHA }} -- stack-graphs)" >> $GITHUB_ENV
Expand Down Expand Up @@ -130,8 +134,11 @@ jobs:
#
- name: Checkout benchmark code
if: steps.cache-base-result.outputs.cache-hit != 'true'
run: |
unzip ${{ env.BASE_DIR }}/benchmarks/${{ env.TEST_NAME }}.zip
uses: actions/checkout@v3
with:
repository: ${{ env.TEST_REPO }}
ref: ${{ env.TEST_REF }}
path: ${{ env.TEST_NAME }}
- name: Profile base memory
if: steps.cache-base-result.outputs.cache-hit != 'true'
run: |
Expand Down