Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0
Firefox 130
Windows
Desktop
3 months ago
Test name Executions per second
array sort 11441.1 Ops/sec
typedArray sort 15456.0 Ops/sec
array i/o 113636.9 Ops/sec
typedArray i/o 226355.9 Ops/sec
typedArray i/o w convert back to array 14809.5 Ops/sec
create arrays 9818.2 Ops/sec
create typed arrays 2556.9 Ops/sec
create typed arrays in typed array 460.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