Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
Firefox 109
Windows
Desktop
one year ago
Test name Executions per second
isEmpty empty array 6938350.5 Ops/sec
length empty array 10377869.0 Ops/sec
isEmpty array of strings 7022774.0 Ops/sec
length array of strings 10033580.0 Ops/sec
isEmpty array of objects 6785900.5 Ops/sec
length array of objects 10046555.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