File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments