Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/112.0
Firefox 112
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
isEmpty empty array 4927052.5 Ops/sec
length empty array 8396593.0 Ops/sec
isEmpty array of strings 5415190.5 Ops/sec
length array of strings 8275060.5 Ops/sec
isEmpty array of objects 5380199.5 Ops/sec
length array of objects 8327144.5 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


;