mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
Correct benchmark titles for _.includes.
This commit is contained in:
@@ -1054,7 +1054,7 @@
|
|||||||
/*--------------------------------------------------------------------------*/
|
/*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
suites.push(
|
suites.push(
|
||||||
Benchmark.Suite('`_.include` iterating an array')
|
Benchmark.Suite('`_.includes` searching an array')
|
||||||
.add(buildName, '\
|
.add(buildName, '\
|
||||||
lodash.include(numbers, limit - 1)'
|
lodash.include(numbers, limit - 1)'
|
||||||
)
|
)
|
||||||
@@ -1064,7 +1064,7 @@
|
|||||||
);
|
);
|
||||||
|
|
||||||
suites.push(
|
suites.push(
|
||||||
Benchmark.Suite('`_.include` iterating an object')
|
Benchmark.Suite('`_.includes` searching an object')
|
||||||
.add(buildName, '\
|
.add(buildName, '\
|
||||||
lodash.include(object, limit - 1)'
|
lodash.include(object, limit - 1)'
|
||||||
)
|
)
|
||||||
@@ -1075,7 +1075,7 @@
|
|||||||
|
|
||||||
if (lodash.include('ab', 'ab') && _.include('ab', 'ab')) {
|
if (lodash.include('ab', 'ab') && _.include('ab', 'ab')) {
|
||||||
suites.push(
|
suites.push(
|
||||||
Benchmark.Suite('`_.include` iterating a string')
|
Benchmark.Suite('`_.includes` searching a string')
|
||||||
.add(buildName, '\
|
.add(buildName, '\
|
||||||
lodash.include(strNumbers, "," + (limit - 1))'
|
lodash.include(strNumbers, "," + (limit - 1))'
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user