Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
squash, back up to 1 million
  • Loading branch information
rvagg committed Oct 18, 2016
commit b550a78399e2d6ce295467dbc072790d814535c0
4 changes: 2 additions & 2 deletions benchmark/es/map-bench.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const assert = require('assert');

const bench = common.createBenchmark(main, {
method: ['object', 'nullProtoObject', 'fakeMap', 'map'],
thousands: [100]
millions: [1]
});

function runObject(n) {
Expand Down Expand Up @@ -75,7 +75,7 @@ function runMap(n) {
}

function main(conf) {
const n = +conf.thousands * 1000;
const n = +conf.millions * 1e6;

switch (conf.method) {
case 'object':
Expand Down