Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 18_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1 Mobile/15E148 Safari/604.1
Mobile Safari 18
iOS 18.1
Mobile
one month ago
Test name Executions per second
array sort 2172.9 Ops/sec
typedArray sort 82378.3 Ops/sec
array i/o 2091.0 Ops/sec
typedArray i/o 2226.2 Ops/sec
typedArray i/o w convert back to array 1613.0 Ops/sec
create arrays 9104.0 Ops/sec
create typed arrays 1432.9 Ops/sec
create typed arrays in typed array 589.9 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