Skip to content

Commit a8c740e

Browse files
Test benchmarking (one case, short) (#323)
Co-authored-by: Henry Le Berre <[email protected]>
1 parent a4ad261 commit a8c740e

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/workflows/bench.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,10 @@ jobs:
3232
(cd master && bash .github/workflows/phoenix/submit.sh .github/workflows/phoenix/bench.sh ${{ matrix.device }}) &
3333
wait %1 && wait %2
3434
35-
- name: Generate Comment
35+
- name: Generate & Post Comment
3636
run: |
37-
COMMENT_MSG=`./mfc.sh bench_diff master/bench-${{ matrix.device }}.yaml pr/bench-${{ matrix.device }}.yaml`
38-
echo "COMMENT_MSG=\"$COMMENT_MSG\"" >> $GITHUB_ENV
39-
40-
- name: Post Comment
41-
run: echo "$COMMENT_MSG"
37+
. ./mfc.sh load -c p -m g
38+
./mfc.sh bench_diff master/bench-${{ matrix.device }}.yaml pr/bench-${{ matrix.device }}.yaml
4239
4340
- name: Archive Logs
4441
uses: actions/upload-artifact@v3

benchmarks/3D_shockdroplet/case.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
# cavity relative eccentricity (distance between radii)
1616
ecc = 0.564
1717

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

0 commit comments

Comments
 (0)