Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0
Firefox 128
Windows
Desktop
one year ago
forIn emptyNullProtoObject
41.2M/s
forIn emptyPlainObject
33.6M/s
objectKeys emptyPlainObject
31.1M/s
objectKeys emptyNullProtoObject
29.0M/s
jqueryIsEmptyObject emptyNullProtoObject
20.7M/s
lodashIsEmpty emptyNullProtoObject
17.6M/s
jqueryIsEmptyObject emptyPlainObject
16.5M/s
objectValues emptyPlainObject
13.5M/s
lodashIsEmpty emptyPlainObject
11.9M/s
objectValues emptyNullProtoObject
10.1M/s
objectKeys mediumObject
3.4M/s
objectValues mediumObject
1.2M/s
objectKeys largeObject
844K/s
lodashIsEmpty mediumObject
320K/s
forIn mediumObject
316K/s
jqueryIsEmptyObject mediumObject
272K/s
objectKeys veryLargeObject
206K/s
objectValues largeObject
142K/s
objectValues veryLargeObject
59K/s
lodashIsEmpty largeObject
15K/s
forIn largeObject
14K/s
jqueryIsEmptyObject largeObject
8K/s
forIn veryLargeObject
2K/s
lodashIsEmpty veryLargeObject
2K/s
jqueryIsEmptyObject veryLargeObject
1K/s
View exact numbers
Test name Executions per second
forIn emptyNullProtoObject 41,239,712 Ops/sec
forIn emptyPlainObject 33,635,244 Ops/sec
objectKeys emptyPlainObject 31,069,156 Ops/sec
objectKeys emptyNullProtoObject 28,954,610 Ops/sec
jqueryIsEmptyObject emptyNullProtoObject 20,749,586 Ops/sec
lodashIsEmpty emptyNullProtoObject 17,581,028 Ops/sec
jqueryIsEmptyObject emptyPlainObject 16,515,681 Ops/sec
objectValues emptyPlainObject 13,485,069 Ops/sec
lodashIsEmpty emptyPlainObject 11,870,261 Ops/sec
objectValues emptyNullProtoObject 10,058,403 Ops/sec
objectKeys mediumObject 3,357,126 Ops/sec
objectValues mediumObject 1,152,548 Ops/sec
objectKeys largeObject 843,938 Ops/sec
lodashIsEmpty mediumObject 319,552 Ops/sec
forIn mediumObject 315,841 Ops/sec
jqueryIsEmptyObject mediumObject 271,535 Ops/sec
objectKeys veryLargeObject 206,030 Ops/sec
objectValues largeObject 141,980 Ops/sec
objectValues veryLargeObject 58,742 Ops/sec
lodashIsEmpty largeObject 15,099 Ops/sec
forIn largeObject 13,726 Ops/sec
jqueryIsEmptyObject largeObject 8,278 Ops/sec
forIn veryLargeObject 1,847 Ops/sec
lodashIsEmpty veryLargeObject 1,530 Ops/sec
jqueryIsEmptyObject veryLargeObject 1,434 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests: