Skip to content

Commit

Permalink
Fixes for #1642.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marsup committed Nov 11, 2018
1 parent 7c442eb commit 12a4666
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions benchmarks/suite.js
Expand Up @@ -72,10 +72,11 @@ module.exports = [
() => {

const list = [];
for (let i = 10000; i < 50000; i++) {
for (let i = 10000; i < 50000; ++i) {
list.push(i.toString());
}
return [list.filter(x => !['12345', '23456', '34567', '456789'].includes(x))];

return [list.filter((x) => !['12345', '23456', '34567', '456789'].includes(x))];
},
(list) => {

Expand All @@ -89,7 +90,7 @@ module.exports = [
() => {

const list = [];
for (let i = 10000; i < 50000; i++) {
for (let i = 10000; i < 50000; ++i) {
list.push(i.toString());
}

Expand All @@ -101,7 +102,7 @@ module.exports = [
return `${10000 + (++i % 40000)}`;
};

return [ schema, value, () => '5000' ];
return [schema, value, () => '5000'];
},
(schema, value) => {

Expand Down

0 comments on commit 12a4666

Please sign in to comment.