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

python3 perf_compare.py diff_tests/perf_history/ #933

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
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
9 changes: 8 additions & 1 deletion .github/workflows/github-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,15 @@ jobs:
- name: ctest performance tests on cruxbc
working-directory: ${{github.workspace}}/Release-build
if: runner.os == 'Linux' && matrix.sanitizer != 'address'
run:
run: |
ctest -R diff-perf-cruxbc -VV
git pull || echo "Skipping git pull." # Git pull fails on pull request
cp -r ${{github.workspace}}/Release-build/Testing/Temporary/LastTest.log $GITHUB_WORKSPACE/Test-Suite/diff_tests/perf_history/perf-$(date +'%Y-%m-%dT%H:%M:%S').txt
cp -r ${{github.workspace}}/Release-build/Testing/Temporary/LastTest.log $GITHUB_WORKSPACE/Test-Suite/diff_tests/perf-latest.txt
cd $GITHUB_WORKSPACE/Test-Suite/diff_tests
time python3 -m pip install --upgrade pip setuptools wheel
time pip3 install -r ./requirements.txt
time python3 perf_compare.py -d ./perf_history/ --tablefmt grid --exit-on-error --only-show-changed --threshold-percentage 80

- name: ctest performance tests on cruxbc (small)
working-directory: ${{github.workspace}}/Release-build
Expand Down