Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.from({...})
    Array.from(Array())

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (iPhone; CPU iPhone OS 16_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/137.0 Mobile/15E148 Safari/605.1.15
Mobile Safari 16 on iOS 16.2
View result in a separate tab
Array.from({...})
83K/s
Array.from(Array())
53K/s
View exact numbers
Test name Executions per second
Array.from({...}) 82,864 Ops/sec
Array.from(Array()) 52,805 Ops/sec