Run details:
Mozilla/5.0 (Linux; Android 11; GM1913) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Mobile Safari/537.36
Chrome Mobile 104
Android
Mobile
2 years ago
Test name Executions per second
Array.from 36040.1 Ops/sec
Array.slice 28891.1 Ops/sec
Array.push 110587.3 Ops/sec
Array[index] 101165.5 Ops/sec
Array spread 27168.1 Ops/sec
Tests:
  • Array.from

  • Array.slice

  • Array.push

  • Array[index]

  • Array spread