Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 YaBrowser/24.7.0.0 Safari/537.36
Yandex Browser 24
Windows
Desktop
3 months ago
Test name Executions per second
array sort 5725.9 Ops/sec
typedArray sort 8997.9 Ops/sec
array i/o 752.1 Ops/sec
typedArray i/o 736.5 Ops/sec
typedArray i/o w convert back to array 581.4 Ops/sec
create arrays 11961.7 Ops/sec
create typed arrays 336.8 Ops/sec
create typed arrays in typed array 171.6 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