Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36
Chrome 127
Windows
Desktop
4 months ago
Test name Executions per second
reduce 2.0 Ops/sec
forEach if 2.0 Ops/sec
for of 2.0 Ops/sec
for of if 1.8 Ops/sec
for 2.0 Ops/sec
forEach 2.0 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • forEach if

  • for of

  • for of if

  • for

  • forEach