Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Firefox/78.0
Firefox 78
Mac OS X 10.15
Desktop
3 years ago
Test name Executions per second
isEmpty empty array 3823635.0 Ops/sec
length empty array 5868442.0 Ops/sec
isEmpty array of strings 3882000.2 Ops/sec
length array of strings 5984332.0 Ops/sec
isEmpty array of objects 3851984.2 Ops/sec
length array of objects 6013066.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


;