Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0
Firefox 89
Fedora
Desktop
3 years ago
Test name Executions per second
Array - 1 25569696.0 Ops/sec
Array - 2 60090844.0 Ops/sec
Set - 1 935942.6 Ops/sec
Set - 2 912343.9 Ops/sec
Set only - 1 35939696.0 Ops/sec
Set only - 2 35545004.0 Ops/sec
Script Preparation code:
Tests:
  • Array - 1

  • Array - 2

  • Set - 1

  • Set - 2

  • Set only - 1

  • Set only - 2


;