Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:122.0) Gecko/20100101 Firefox/122.0
Firefox 122
Windows
Desktop
8 months ago
Test name Executions per second
isEmpty empty array 6561244.0 Ops/sec
length empty array 9874269.0 Ops/sec
isEmpty array of strings 6476868.0 Ops/sec
length array of strings 9807011.0 Ops/sec
isEmpty array of objects 6479429.0 Ops/sec
length array of objects 9491598.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


;