window.objectKeys vs window.isEmpty15,232,298 ops/sec
14,124,128 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| window.objectKeys | |
| window.isEmpty |
| Test name | Executions per second |
|---|---|
| ✓ window.objectKeys | 6,616,782 Ops/sec |
| window.isEmpty | 6,317,413 Ops/sec |