Script Preparation code:
AخA
 
var map = new Map()
for (let i = 0; i< 100; i++) {
    map.set(Math.random().toString(), Math.random())
}
Tests:
  • From

     
    Array.from(map.values())
  • New

     
    new Array(...map.values())
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    From
    New

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 months ago)
Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0
Firefox 133 on Linux
View result in a separate tab
Test name Executions per second
From 1103123.1 Ops/sec
New 1044006.6 Ops/sec