Test case name | Result |
---|---|
isEmpty empty array | |
length empty array | |
custom isEmpty empty array | |
isEmpty array of strings | |
length array of strings | |
custom isEmpty array of strings | |
isEmpty array of objects | |
length empty array of objects | |
custom isEmpty array of objects | |
isEmpty empty string | |
length empty string | |
custom isEmpty empty string | |
isEmpty filled string | |
length filled string | |
custom isEmpty filled string |
Test name | Executions per second |
---|---|
isEmpty empty array | 6354874.0 Ops/sec |
length empty array | 14495110.0 Ops/sec |
custom isEmpty empty array | 4729560.0 Ops/sec |
isEmpty array of strings | 6369231.0 Ops/sec |
length array of strings | 14567480.0 Ops/sec |
custom isEmpty array of strings | 3882635.0 Ops/sec |
isEmpty array of objects | 5012964.0 Ops/sec |
length empty array of objects | 9877771.0 Ops/sec |
custom isEmpty array of objects | 2957263.0 Ops/sec |
isEmpty empty string | 6725451.0 Ops/sec |
length empty string | 10294570.0 Ops/sec |
custom isEmpty empty string | 5055660.0 Ops/sec |
isEmpty filled string | 6575069.0 Ops/sec |
length filled string | 12300210.0 Ops/sec |
custom isEmpty filled string | 4943220.0 Ops/sec |