Run details:
Mozilla/5.0 (X11; CrOS x86_64 10895.78.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.120 Safari/537.36
Chrome 69
Chrome OS 10895.78.0
Desktop
6 years ago
Test name Executions per second
reduce 26902.8 Ops/sec
for loop 294691.9 Ops/sec
forEach 259707.4 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach