Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.62
Chrome 116
Linux
Desktop
one year ago
Test name Executions per second
isEmpty empty array 3696147.2 Ops/sec
length empty array 8444770.0 Ops/sec
isEmpty array of strings 3616949.2 Ops/sec
length array of strings 8263288.0 Ops/sec
isEmpty array of objects 3602237.0 Ops/sec
length array of objects 8107924.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