Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0
Firefox 123
Windows
Desktop
9 months ago
Test name Executions per second
array sort 7830.4 Ops/sec
typedArray sort 11760.6 Ops/sec
array i/o 72016.0 Ops/sec
typedArray i/o 109004.7 Ops/sec
typedArray i/o with convert back to array 11217.6 Ops/sec
create arrays 11860.3 Ops/sec
create typed arrays 1395.6 Ops/sec
create typed arrays in typed array 289.0 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