Skip to content

Commit 9cafb04

Browse files
committed
add mem usage measure for CDP bench
1 parent 7025d1b commit 9cafb04

File tree

1 file changed

+54
-2
lines changed

1 file changed

+54
-2
lines changed

README.md

Lines changed: 54 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ We use Google Chrome version 130.0.6723.58.
188188

189189
You have to start the browser first.
190190
```console
191-
$ google-chrome --headless=new --remote-debugging-port=9222
191+
$ /usr/bin/time -v google-chrome --headless=new --remote-debugging-port=9222
192192
```
193193

194194
Then you can run the benchmark.
@@ -209,6 +209,32 @@ max run duration (ms) 298
209209

210210
![aws.m5 Playwright with Google Chrome](./img/aws_m5_playwright_chrome.png)
211211

212+
```console
213+
Command being timed: "google-chrome --headless=new --remote-debugging-port=9222"
214+
User time (seconds): 16.26
215+
System time (seconds): 6.49
216+
Percent of CPU this job got: 74%
217+
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:30.61
218+
Average shared text size (kbytes): 0
219+
Average unshared data size (kbytes): 0
220+
Average stack size (kbytes): 0
221+
Average total size (kbytes): 0
222+
Maximum resident set size (kbytes): 206500
223+
Average resident set size (kbytes): 0
224+
Major (requiring I/O) page faults: 8
225+
Minor (reclaiming a frame) page faults: 255088
226+
Voluntary context switches: 144548
227+
Involuntary context switches: 86315
228+
Swaps: 0
229+
File system inputs: 0
230+
File system outputs: 168872
231+
Socket messages sent: 0
232+
Socket messages received: 0
233+
Signals delivered: 0
234+
Page size (bytes): 4096
235+
Exit status: 0
236+
```
237+
212238
**Lightpanda browser**
213239

214240
We use Lightpanda commit [826f82610e10634aa57a41abc1fba337a5e9c88b](https://github.com/lightpanda-io/browser/commit/826f82610e10634aa57a41abc1fba337a5e9c88b).
@@ -220,7 +246,7 @@ You have to start the Lightpanda Gateway.
220246

221247
And Lightpanda browser itself.
222248
```console
223-
./lightpanda
249+
/usr/bin/time -v ./lightpanda
224250
```
225251

226252
Then you can run the benchmark.
@@ -238,3 +264,29 @@ avg run duration (ms) 205
238264
min run duration (ms) 191
239265
max run duration (ms) 29
240266
```
267+
268+
```console
269+
Command being timed: "./lightpanda"
270+
User time (seconds): 25.39
271+
System time (seconds): 9.14
272+
Percent of CPU this job got: 99%
273+
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:34.67
274+
Average shared text size (kbytes): 0
275+
Average unshared data size (kbytes): 0
276+
Average stack size (kbytes): 0
277+
Average total size (kbytes): 0
278+
Maximum resident set size (kbytes): 98100
279+
Average resident set size (kbytes): 0
280+
Major (requiring I/O) page faults: 0
281+
Minor (reclaiming a frame) page faults: 29282
282+
Voluntary context switches: 293
283+
Involuntary context switches: 1153
284+
Swaps: 0
285+
File system inputs: 0
286+
File system outputs: 0
287+
Socket messages sent: 0
288+
Socket messages received: 0
289+
Signals delivered: 0
290+
Page size (bytes): 4096
291+
Exit status:
292+
```

0 commit comments

Comments
 (0)