Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Chrome 129
Windows
Desktop
2 months ago
Test name Executions per second
array sort 12809.9 Ops/sec
typedArray sort 28446.6 Ops/sec
array i/o 2033.6 Ops/sec
typedArray i/o 2012.1 Ops/sec
typedArray i/o w convert back to array 1569.1 Ops/sec
create arrays 26893.7 Ops/sec
create typed arrays 1063.1 Ops/sec
create typed arrays in typed array 426.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