Run details:
Mozilla/5.0 (Linux; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36
Chrome Mobile 114
Android
Mobile
one year ago
Test name Executions per second
isEmpty empty array 813767.2 Ops/sec
length empty array 1961349.1 Ops/sec
isEmpty array of strings 817940.0 Ops/sec
length array of strings 1953924.1 Ops/sec
isEmpty array of objects 814003.3 Ops/sec
length array of objects 1925411.4 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