Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0
Firefox 124
Linux
Desktop
8 months ago
Test name Executions per second
array sort 3184.9 Ops/sec
typedArray sort 3223.7 Ops/sec
array i/o 37462.3 Ops/sec
typedArray i/o 59403.7 Ops/sec
typedArray i/o w convert back to array 5145.0 Ops/sec
create arrays 3975.9 Ops/sec
create typed arrays 596.6 Ops/sec
create typed arrays in typed array 99.2 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