Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:97.0) Gecko/20100101 Firefox/97.0
Firefox 97
Mac OS X 10.14
Desktop
2 years ago
Test name Executions per second
isEmpty empty array 4946496.0 Ops/sec
length empty array 7875260.0 Ops/sec
isEmpty array of strings 4857984.0 Ops/sec
length array of strings 7246230.5 Ops/sec
isEmpty array of objects 4998236.5 Ops/sec
length array of objects 7950276.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


;