Correct benchmark titles for _.includes.

This commit is contained in:
John-David Dalton
2015-01-07 21:01:12 -08:00
parent 2348ec40ee
commit 0906fbf995

View File

@@ -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))'
) )