Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36
Chrome 110
Linux
Desktop
one year ago
Test name Executions per second
for of 158109.4 Ops/sec
forEach 78439.6 Ops/sec
reduce 141502.8 Ops/sec
for i 1327.4 Ops/sec
Script Preparation code:
Tests:
  • for of

  • forEach

  • reduce

  • for i