Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 Edg/88.0.705.81
Chrome 88
Windows
Desktop
2 months ago
Test name Executions per second
Array - 1 8804041.0 Ops/sec
Array - 2 9020139.0 Ops/sec
Set - 1 767856.9 Ops/sec
Set - 2 931027.4 Ops/sec
Set only - 1 7924237.0 Ops/sec
Set only - 2 7611119.0 Ops/sec
Script Preparation code:
Tests:
  • Array - 1

  • Array - 2

  • Set - 1

  • Set - 2

  • Set only - 1

  • Set only - 2