Script Preparation code:
x
 
var arr = ['', '', ''];
Tests:
  • array.from

     
    Array.from(arr)
  • spread

     
    [...arr]
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    array.from
    spread

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 6 years ago)
Mozilla/5.0 (Linux; Android 9; TA-1012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.112 Mobile Safari/537.36
Chrome Mobile 74 on Android
View result in a separate tab
Test name Executions per second
array.from 1810574.1 Ops/sec
spread 4714750.5 Ops/sec