Skip to content

Commit 3be8c0d

Browse files
Merge pull request #11 from lightpanda-io/puppeteer
Add puppeteer bench script
2 parents f0bb417 + 7e4b1b3 commit 3be8c0d

File tree

4 files changed

+1040
-7
lines changed

4 files changed

+1040
-7
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,11 @@ The `playwright/cdp.js` benchmark accepts multiple env vars to be configured.
169169
* `BASE_URL` is the base url of the running web reser to request, by default `http://127.0.0.1:1234`.
170170
* `RUNS` is the number of pages loaded by the benchmark, default is `100`.
171171

172-
`npm run bench-cdp` starts a playwright process
172+
`npm run bench-playwright-cdp` starts a playwright process
173173
instance and load the page to extract data 100 times.
174174

175175
```console
176-
$ npm run bench-cdp
176+
$ npm run bench-playwright-cdp
177177
```
178178

179179
### Results
@@ -189,9 +189,9 @@ $ google-chrome --headless=new --disable-gpu --remote-debugging-port=9222
189189

190190
Then you can run the benchmark.
191191
```console
192-
$ npm run bench-cdp
192+
$ npm run bench-playwright-cdp
193193

194-
> [email protected] bench-chrome
194+
> [email protected] bench-playwright-cdp
195195
> node playwright/chrome.js
196196

197197
................................................................................

0 commit comments

Comments
 (0)