Script Preparation code:
AخA
 
var a = new Map()
var b = [];
Tests:
  • Set

     
    a.set(Math.random(),Math.random());
  • Array

     
    b[Math.random()] = Math.random();
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    Set
    Array

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36
Chrome 55 on Mac OS X 10.12.1
View result in a separate tab
Test name Executions per second
Set 591452.8 Ops/sec
Array 466318.2 Ops/sec