Run details:
Mozilla/5.0 (X11; CrOS x86_64 13099.102.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.127 Safari/537.36
Chrome 84
Chrome OS 13099.102.0
Desktop
4 years ago
Test name Executions per second
reduce 23773.1 Ops/sec
for loop 417647.1 Ops/sec
forEach 244967.9 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • for loop

  • forEach