Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 16_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/110.0.5481.114 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 110
iOS 16.3
Mobile
one year ago
Test name Executions per second
reduce 301711.5 Ops/sec
for loop 694203.2 Ops/sec
forEach 197001.1 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach