Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0
Firefox 80
Windows
Desktop
4 years ago
Test name Executions per second
Reduce 66.8 Ops/sec
Set Map 82.9 Ops/sec
Set Simple For 75.6 Ops/sec
Set For Of 70.2 Ops/sec
Set For Each 66.9 Ops/sec
Script Preparation code:
Tests:
  • Reduce

  • Set Map

  • Set Simple For

  • Set For Of

  • Set For Each