Script Preparation code:
AخA
 
var a=[{x:"a", y:"b"},{x:"a1", y:"b"},{x:"a2", y:"b"},{x:"a3", y:"b"},{x:"a4", y:"b"},{x:"a5", y:"b"},{x:"a6", y:"b"}]
var o={a:"b", a1:"b", a2:"b", a3:"b", a4:"b", a5:"b", a6:"b"}
Tests:
  • map

     
    a.map(i=>i.x)
  • keys

     
    Object.keys(o)
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    map
    keys

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 years ago)
Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36
Chrome 54 on Windows 8.1
View result in a separate tab
Test name Executions per second
map 739859.6 Ops/sec
keys 1495265.9 Ops/sec