mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 18:17:48 +00:00
Tweak indexOf isSorted benchmark.
Former-commit-id: 0183b35929a2c1f7113747a67f55abbc797fab8c
This commit is contained in:
@@ -331,10 +331,10 @@
|
|||||||
suites.push(
|
suites.push(
|
||||||
Benchmark.Suite('indexOf isSorted')
|
Benchmark.Suite('indexOf isSorted')
|
||||||
.add('Lo-Dash', function() {
|
.add('Lo-Dash', function() {
|
||||||
lodash.indexOf(numbers, 9, true);
|
lodash.indexOf(numbers, 19, true);
|
||||||
})
|
})
|
||||||
.add('Underscore', function() {
|
.add('Underscore', function() {
|
||||||
_.indexOf(numbers, 9, true);
|
_.indexOf(numbers, 19, true);
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user