File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -159,13 +159,15 @@ jobs:
159159
160160 - run : chmod a+x ./lightpanda
161161
162+ - name : start http
163+ run : go run ws/main.go & echo $! > WS.pid
164+
162165 - name : run puppeteer
163166 run : |
164- go run ws/main.go & echo $! > WS.pid
165167 ./lightpanda serve & echo $! > LPD.pid
166168 RUNS=100 npm run bench-puppeteer-cdp > puppeteer.out || exit 1
167169 cat /proc/`cat LPD.pid`/status |grep VmHWM|grep -oP '\d+' > LPD.VmHWM
168- kill `cat LPD.pid` `cat WS.pid`
170+ kill `cat LPD.pid`
169171
170172 - name : puppeteer result
171173 run : cat puppeteer.out
@@ -180,9 +182,10 @@ jobs:
180182
181183 - name : run hyperfine
182184 run : |
183- go run ws/main.go & echo $! > WS.pid
184185 hyperfine --export-json=hyperfine.json --warmup 3 --runs 20 --shell=none "./lightpanda --dump http://127.0.0.1:1234/campfire-commerce/"
185- kill `cat WS.pid`
186+
187+ - name : stop http
188+ run : kill `cat WS.pid`
186189
187190 - name : write commit
188191 run : |
You can’t perform that action at this time.
0 commit comments