Run details:
Mozilla/5.0 (Linux; Android 9; Redmi Note 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.81 Mobile Safari/537.36
Chrome Mobile 85
Android
Mobile
4 years ago
Test name Executions per second
Number 1: use for iterator 144376.3 Ops/sec
Number 2: using reduce method 2930063.5 Ops/sec
Script Preparation code:
Tests:
  • Number 1: use for iterator

  • Number 2: using reduce method


;