Test case name | Result |
---|---|
isEmpty with string/null | |
"==" Comparison | |
isEmpty with array | |
Js includes |
Test name | Executions per second |
---|---|
isEmpty with string/null | 52326940.0 Ops/sec |
"==" Comparison | 846730000.0 Ops/sec |
isEmpty with array | 7774066.0 Ops/sec |
Js includes | 30012070.0 Ops/sec |