| Test name | Executions per second |
|---|---|
| ✓ instanceof Promise (null) | 286,673,728 Ops/sec |
| then check (promise) | 285,806,976 Ops/sec |
| type obj?.then === function (promise) | 284,939,584 Ops/sec |
| then in (promise) | 277,699,616 Ops/sec |
| then check (null) | 275,131,264 Ops/sec |
| instanceof Promise (promise) | 274,890,752 Ops/sec |
| type obj?.then === function (null) | 272,799,872 Ops/sec |
| constructor comparison (null) | 269,453,216 Ops/sec |
| constructor comparison (empty object) | 268,540,544 Ops/sec |
| then check (empty object) | 266,213,328 Ops/sec |
| then in (null) | 265,777,920 Ops/sec |
| then in (empty object) | 264,977,792 Ops/sec |
| constructor comparison (promise) | 263,872,736 Ops/sec |
| type obj?.then === function (empty object) | 263,832,848 Ops/sec |
| instanceof Promise (empty object) | 186,713,536 Ops/sec |