Script Preparation code:
Tests:
  • Array - iteration

  • Set - iteration

  • Array - includes

  • Set - has

  • Array - push

  • Set - add

  • Array - deletion

  • Set - deletion

  • Converting a Set to an Array

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array - iteration
    Set - iteration
    Array - includes
    Set - has
    Array - push
    Set - add
    Array - deletion
    Set - deletion
    Converting a Set to an Array

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 6 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0
Firefox 123 on Windows
View result in a separate tab
Test name Executions per second
Array - iteration 2831.6 Ops/sec
Set - iteration 1016.5 Ops/sec
Array - includes 10721.1 Ops/sec
Set - has 873604608.0 Ops/sec
Array - push 14720297.0 Ops/sec
Set - add 39704720.0 Ops/sec
Array - deletion 6.2 Ops/sec
Set - deletion 27850610.0 Ops/sec
Converting a Set to an Array 625.5 Ops/sec