Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0
Firefox 121
Ubuntu
Desktop
11 months ago
Test name Executions per second
isEmpty empty array 12079613.0 Ops/sec
length empty array 16472340.0 Ops/sec
isEmpty array of strings 12211499.0 Ops/sec
length array of strings 16371970.0 Ops/sec
isEmpty array of objects 12217228.0 Ops/sec
length array of objects 16438111.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