Script Preparation code:
Tests:
  • Map<number, object> - Index Search

  • Map<number, object> - Index Search #2

  • Map<number, object> - Key Search

  • Array<object> - Index Search

  • Array<object> - Key Search

  • Array<object> - Key Search #2

  • HTMLCollection - Index Search

  • HTMLCollection - Key Search

  • {Array, Map} - Index Search

  • {Array, Map} - Key Search

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Map<number, object> - Index Search
    Map<number, object> - Index Search #2
    Map<number, object> - Key Search
    Array<object> - Index Search
    Array<object> - Key Search
    Array<object> - Key Search #2
    HTMLCollection - Index Search
    HTMLCollection - Key Search
    {Array, Map} - Index Search
    {Array, Map} - Key Search

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:130.0) Gecko/20100101 Firefox/130.0
Firefox 130 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
Map<number, object> - Index Search 1.2 Ops/sec
Map<number, object> - Index Search #2 0.3 Ops/sec
Map<number, object> - Key Search 7108.0 Ops/sec
Array<object> - Index Search 54812.4 Ops/sec
Array<object> - Key Search 3.5 Ops/sec
Array<object> - Key Search #2 2.0 Ops/sec
HTMLCollection - Index Search 4434.1 Ops/sec
HTMLCollection - Key Search 1189.0 Ops/sec
{Array, Map} - Index Search 6043.9 Ops/sec
{Array, Map} - Key Search 7098.0 Ops/sec


;