Skip to content

Commit ba17ffc

Browse files
committed
benchmark: calibrate util.get-callsite
According to nodejs/performance#186 this benchmark takes 5.5 minutes to run a single run. So using calibrate-n script it suggests reduce it from 1e6 to 1e2
1 parent 9b647a7 commit ba17ffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/util/get-callsite.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const { getCallSites } = require('node:util');
55
const assert = require('node:assert');
66

77
const bench = common.createBenchmark(main, {
8-
n: [1e6],
8+
n: [100],
99
method: ['ErrorCallSites', 'ErrorCallSitesSerialized', 'CPP'],
1010
});
1111

0 commit comments

Comments
 (0)