Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,15 @@ jobs:

- run: chmod a+x ./lightpanda

- name: start http
run: go run ws/main.go & echo $! > WS.pid

- name: run puppeteer
run: |
go run ws/main.go & echo $! > WS.pid
./lightpanda serve & echo $! > LPD.pid
RUNS=100 npm run bench-puppeteer-cdp > puppeteer.out || exit 1
cat /proc/`cat LPD.pid`/status |grep VmHWM|grep -oP '\d+' > LPD.VmHWM
kill `cat LPD.pid` `cat WS.pid`
kill `cat LPD.pid`

- name: puppeteer result
run: cat puppeteer.out
Expand All @@ -180,9 +182,10 @@ jobs:

- name: run hyperfine
run: |
go run ws/main.go & echo $! > WS.pid
hyperfine --export-json=hyperfine.json --warmup 3 --runs 20 --shell=none "./lightpanda --dump http://127.0.0.1:1234/campfire-commerce/"
kill `cat WS.pid`

- name: stop http
run: kill `cat WS.pid`

- name: write commit
run: |
Expand Down