Skip to content

Commit 979916c

Browse files
committed
wip
1 parent 5507a9c commit 979916c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/e2e-test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,19 @@ jobs:
8686
run: |
8787
python3 -m http.server 1234 -d ./public &
8888
/usr/bin/time -f'%M' -omrs.out ./lightpanda &
89-
RUNS=100 npm run bench-puppeteer-cdp > tee output || exit 1 && kill %2
89+
RUNS=100 npm run bench-puppeteer-cdp > puppeteer.out || exit 1 && kill %2
90+
91+
- name: result
92+
run: cat output
9093

9194
- name: memory regression
9295
run: |
96+
ls
9397
cat mrs.out
9498
export CURRENT_MRS=`cat mrs.out`
9599
test "$CURRENT_MRS" -le "$MAX_MEMORY"
96100
97101
- name: duration regression
98102
run: |
99-
test "`cat output|grep 'avg run'|sed 's/avg run duration (ms) //'`" -le "$MAX_AVG_DURATION"
103+
test "`cat puppeteer.out|grep 'avg run'|sed 's/avg run duration (ms) //'`" -le "$MAX_AVG_DURATION"
100104

0 commit comments

Comments
 (0)