Script Preparation code:
Tests:
  • Original equal (array)

  • Original equal (object)

  • Modified equal (array)

  • Modified equal (object)

  • Larger test (orig)

  • Larger test (modified)

  • Larger test (modified v2)

  • Modified equal v2 (object)

  • Modified equal v2 (array)

  • Modified equal v3 (array)

  • Modified equal v3 (object)

  • Larger test (modified v3)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Original equal (array)
    Original equal (object)
    Modified equal (array)
    Modified equal (object)
    Larger test (orig)
    Larger test (modified)
    Larger test (modified v2)
    Modified equal v2 (object)
    Modified equal v2 (array)
    Modified equal v3 (array)
    Modified equal v3 (object)
    Larger test (modified v3)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0
Firefox 71 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
Original equal (array) 4570.6 Ops/sec
Original equal (object) 32465.7 Ops/sec
Modified equal (array) 4474.5 Ops/sec
Modified equal (object) 32436.9 Ops/sec
Larger test (orig) 1466.7 Ops/sec
Larger test (modified) 1417.9 Ops/sec
Larger test (modified v2) 1394.9 Ops/sec
Modified equal v2 (object) 31240.7 Ops/sec
Modified equal v2 (array) 4307.6 Ops/sec
Modified equal v3 (array) 2683.9 Ops/sec
Modified equal v3 (object) 21417.5 Ops/sec
Larger test (modified v3) 988.5 Ops/sec