Run details:
Mozilla/5.0 (Linux; Android 10; SAMSUNG SM-N960N) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/21.0 Chrome/110.0.5481.154 Mobile Safari/537.36
Chrome Mobile 110
Android
Mobile
one year ago
Test name Executions per second
Array.from 1327.1 Ops/sec
Array.slice 1702.9 Ops/sec
Array.push 1979.8 Ops/sec
Array[index] 2217.6 Ops/sec
Array spread 1341.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Array.from

  • Array.slice

  • Array.push

  • Array[index]

  • Array spread