Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fc3f82d

Browse filesBrowse files
RafaelGSSrichardlau
authored andcommitted
benchmark: calibrate config v8/serialize.js
According to recent tests with `calibrate-n` on a dedicated Hetzner machine (4vCPUs | 16gb) the results got stable with n=1e5. The work on nodejs/performance#186 (comment) has shown this benchmark file spends 2-minutes for a single run. This should improve things a bit. PR-URL: #59586 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 9b7dd40 commit fc3f82d
Copy full SHA for fc3f82d

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎benchmark/v8/serialize.js‎

Copy file name to clipboardExpand all lines: benchmark/v8/serialize.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ const common = require('../common.js');
44
const v8 = require('v8');
55

66
const bench = common.createBenchmark(main, {
7-
len: [256, 1024 * 16, 1024 * 512],
8-
n: [1e6],
7+
len: [256, 1024 * 16],
8+
n: [1e5],
99
});
1010

1111
function main({ n, len }) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.