Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102
Windows
Desktop
one year ago
Test name Executions per second
isEmpty empty array 5356898.0 Ops/sec
length empty array 7716063.5 Ops/sec
isEmpty array of strings 5025510.0 Ops/sec
length array of strings 7719359.5 Ops/sec
isEmpty array of objects 5254548.0 Ops/sec
length array of objects 7794437.0 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