Add _.isObject to the isType benchmark.

Former-commit-id: 4e2a61fab31b506bac1d5ce7ad47f7bb2d9e11b6
This commit is contained in:
John-David Dalton
2013-04-19 01:03:09 -07:00
parent 038b1bcf7b
commit 4a19d90d48

View File

@@ -1199,7 +1199,7 @@
/*--------------------------------------------------------------------------*/
suites.push(
Benchmark.Suite('`_.isArguments`, `_.isDate`, `_.isFunction`, `_.isNumber`, `_.isRegExp`')
Benchmark.Suite('`_.isArguments`, `_.isDate`, `_.isFunction`, `_.isNumber`, `_.isObject`, `_.isRegExp`')
.add(buildName, '\
lodash.isArguments(arguments);\
lodash.isArguments(object);\
@@ -1209,6 +1209,8 @@
lodash.isFunction(object);\
lodash.isNumber(1);\
lodash.isNumber(object);\
lodash.isObject(object);\
lodash.isObject(1);\
lodash.isRegExp(regexp);\
lodash.isRegExp(object);'
)
@@ -1221,6 +1223,8 @@
_.isFunction(object);\
_.isNumber(1);\
_.isNumber(object);\
_.isObject(object);\
_.isObject(1);\
_.isRegExp(regexp);\
_.isRegExp(object);'
)