Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3 Mobile/15E148 Safari/604.1
Mobile Safari 17
iOS 17.3
Mobile
6 months ago
Test name Executions per second
array sort 620.9 Ops/sec
typedArray sort 42437.9 Ops/sec
array i/o 891.3 Ops/sec
typedArray i/o 928.9 Ops/sec
typedArray i/o w convert back to array 721.2 Ops/sec
create arrays 10984.8 Ops/sec
create typed arrays 556.7 Ops/sec
create typed arrays in typed array 240.5 Ops/sec
Script Preparation code:
Tests:
  • array sort

  • typedArray sort

  • array i/o

  • typedArray i/o

  • typedArray i/o w convert back to array

  • create arrays

  • create typed arrays

  • create typed arrays in typed array