Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/117.0.5938.108 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 117
iOS 16.6
Mobile
one year ago
Test name Executions per second
Array.from 1347368.4 Ops/sec
Array.slice 1662527.9 Ops/sec
Array.push 1898828.4 Ops/sec
Array[index] 1752217.8 Ops/sec
Array spread 1140042.1 Ops/sec
Tests:
  • Array.from

  • Array.slice

  • Array.push

  • Array[index]

  • Array spread