Run details:
Mozilla/5.0 (Linux; Android 13; SM-G991U1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36 EdgA/114.0.1823.43
Chrome Mobile 114
Android
Mobile
one year ago
Test name Executions per second
Array.from 136068.5 Ops/sec
Array.slice 180105.5 Ops/sec
Array.push 671284.2 Ops/sec
Array[index] 577220.7 Ops/sec
Array spread 148655.0 Ops/sec
Tests:
  • Array.from

  • Array.slice

  • Array.push

  • Array[index]

  • Array spread