Test name | Executions per second |
---|---|
== | 3692.1 Ops/sec |
null to bool | 3696.0 Ops/sec |
str to bool | 31.6 Ops/sec |
arr to bool | 5.0 Ops/sec |
bool to bool | 3658.8 Ops/sec |
obj to bool | 10.2 Ops/sec |
=== str with number | 3695.1 Ops/sec |
== str with number | 34.1 Ops/sec |
null == undefined | 5.9 Ops/sec |
=== str with str | 3697.0 Ops/sec |
=== true | 3681.8 Ops/sec |
=== null | 3673.7 Ops/sec |
== null | 3677.1 Ops/sec |
== true | 3685.6 Ops/sec |
=== str | 3675.9 Ops/sec |
== str | 135.8 Ops/sec |
=== | 3678.2 Ops/sec |
== str with str | 3670.9 Ops/sec |
undefined == null | 1837.5 Ops/sec |