Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
isEmpty empty array 4733991.5 Ops/sec
length empty array 7481468.5 Ops/sec
isEmpty array of strings 4883474.5 Ops/sec
length array of strings 7336350.5 Ops/sec
isEmpty array of objects 4963228.0 Ops/sec
length array of objects 7545689.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