benchmark: remove redundant +
PR-URL: https://github.com/nodejs/node/pull/17803 Refs: https://github.com/nodejs/code-and-learn/issues/72 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
parent
4b9ba9b833
commit
f6ae451a96
@ -26,9 +26,9 @@ function createObj(source, add = '') {
|
||||
}
|
||||
|
||||
function main(conf) {
|
||||
const size = +conf.size;
|
||||
const size = conf.size;
|
||||
// TODO: Fix this "hack"
|
||||
const n = (+conf.n) / size;
|
||||
const n = conf.n / size;
|
||||
var i;
|
||||
|
||||
const source = Array.apply(null, Array(size));
|
||||
|
Loading…
x
Reference in New Issue
Block a user