Skip to content

Commit

Permalink
Test benchmarking (one case, short) (#323)
Browse files Browse the repository at this point in the history
Co-authored-by: Henry Le Berre <hleberre64@gmail.com>
  • Loading branch information
sbryngelson and henryleberre authored Jan 28, 2024
1 parent a4ad261 commit a8c740e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,10 @@ jobs:
(cd master && bash .github/workflows/phoenix/submit.sh .github/workflows/phoenix/bench.sh ${{ matrix.device }}) &
wait %1 && wait %2
- name: Generate Comment
- name: Generate & Post Comment
run: |
COMMENT_MSG=`./mfc.sh bench_diff master/bench-${{ matrix.device }}.yaml pr/bench-${{ matrix.device }}.yaml`
echo "COMMENT_MSG=\"$COMMENT_MSG\"" >> $GITHUB_ENV
- name: Post Comment
run: echo "$COMMENT_MSG"
. ./mfc.sh load -c p -m g
./mfc.sh bench_diff master/bench-${{ matrix.device }}.yaml pr/bench-${{ matrix.device }}.yaml
- name: Archive Logs
uses: actions/upload-artifact@v3
Expand Down
3 changes: 2 additions & 1 deletion benchmarks/3D_shockdroplet/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
# cavity relative eccentricity (distance between radii)
ecc = 0.564

# initial shock distance from the y axis. Note that the droplet center is located at y = 0. Thus, the distance from the shock to
# initial shock distance from the y axis. Note that the droplet center is located at y = 0.
# Thus, the distance from the shock to
# the droplet is about D0/8
ISD = 5.0/8 * D0

Expand Down

0 comments on commit a8c740e

Please sign in to comment.