Skip to content
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

Use new data for base branch perf job too #304

Merged
merged 2 commits into from
Jul 28, 2023
Merged
Show file tree
Hide file tree
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
13 changes: 4 additions & 9 deletions .github/workflows/perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ env:
HEAD_DB: head.sqlite
HEAD_ARTIFACT: head-perf-results
TEST_NAME: typescript_benchmark
TEST_REPO: microsoft/TypeScript
TEST_REF: v4.9.5
TEST_SRC: src/compiler/utilities.ts
MASSIF_OUT: perf.out
MASSIF_REPORT: perf.txt
TSSG_TS: tree-sitter-stack-graphs-typescript
Expand Down Expand Up @@ -119,11 +116,9 @@ jobs:
CARGO_PROFILE_RELEASE_DEBUG: true
- name: Checkout benchmark code
if: steps.cache-base-result.outputs.cache-hit != 'true'
uses: actions/checkout@v3
with:
repository: ${{ env.TEST_REPO }}
ref: ${{ env.TEST_REF }}
path: ${{ env.BASE_DIR }}/data/${{ env.TEST_NAME }}
run: |
unzip ${{ env.TEST_NAME }}.zip
working-directory: ${{ env.BASE_DIR }}/data
- name: Profile base memory
if: steps.cache-base-result.outputs.cache-hit != 'true'
run: |
Expand All @@ -132,7 +127,7 @@ jobs:
--massif-out-file=${{ env.MASSIF_OUT }} \
${{ env.BASE_DIR }}/target/release/${{ env.TSSG_TS }} \
index -D ${{ env.BASE_DB }} --max-file-time=30 --hide-error-details -- \
${{ env.BASE_DIR }}/data/${{ env.TEST_NAME }}/${{ env.TEST_SRC }}
${{ env.BASE_DIR }}/data/${{ env.TEST_NAME }}
ms_print ${{ env.MASSIF_OUT }} > ${{ env.MASSIF_REPORT }}
- name: Upload results
uses: actions/upload-artifact@v3
Expand Down
Empty file removed stack-graphs/force-perf-test
Empty file.
Loading