Tweak indexOf isSorted benchmark.

Former-commit-id: 0183b35929a2c1f7113747a67f55abbc797fab8c
This commit is contained in:
John-David Dalton
2012-06-03 01:06:12 -04:00
parent 5e7c9698c7
commit ddb3ab3238

View File

@@ -331,10 +331,10 @@
suites.push(
Benchmark.Suite('indexOf isSorted')
.add('Lo-Dash', function() {
lodash.indexOf(numbers, 9, true);
lodash.indexOf(numbers, 19, true);
})
.add('Underscore', function() {
_.indexOf(numbers, 9, true);
_.indexOf(numbers, 19, true);
})
);