Run details:
Mozilla/5.0 (Linux; Android 11; Redmi Note 8 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Mobile Safari/537.36
Chrome Mobile 107
Android
Mobile
2 years ago
Test name Executions per second
isEmpty empty array 826288.4 Ops/sec
length empty array 1683659.2 Ops/sec
isEmpty array of strings 807909.7 Ops/sec
length array of strings 1668660.8 Ops/sec
isEmpty array of objects 806832.2 Ops/sec
length array of objects 1699641.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • isEmpty empty array

  • length empty array

  • isEmpty array of strings

  • length array of strings

  • isEmpty array of objects

  • length array of objects