Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1
Mobile Safari 17
iOS 17.0
Mobile
one year ago
Test name Executions per second
isEmpty empty array 7732836.5 Ops/sec
length empty array 16742989.0 Ops/sec
isEmpty array of strings 6161626.5 Ops/sec
length array of strings 16955118.0 Ops/sec
isEmpty array of objects 7103189.0 Ops/sec
length array of objects 10952709.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


;