Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit 95e93c1

Browse files
committed
chore(benchmark): 4x cpu slowdown
1 parent 3f1ee07 commit 95e93c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

benchmark/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const {
5454
count: {
5555
type: 'string',
5656
short: 'c',
57-
default: '50',
57+
default: '30',
5858
},
5959
noHeadless: {
6060
type: 'boolean',
@@ -216,6 +216,7 @@ async function doBench(browser, isVapor) {
216216
console.info('\n\nmode:', mode)
217217

218218
const page = await browser.newPage()
219+
page.emulateCPUThrottling(4)
219220
await page.goto(`http://localhost:${port}/${mode}`, {
220221
waitUntil: 'networkidle0',
221222
})

0 commit comments

Comments
 (0)