array vs float32array without conversion

one month ago
User agent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Mobile/15E148 Safari/604.1
Test name Executions per second
array sort 692.3 Ops/sec
typedArray sort 58662.6 Ops/sec
array i/o 1764.7 Ops/sec
typedArray i/o 1398.6 Ops/sec
Script Preparation code:
Tests:
  • array sort

  • typedArray sort

  • array i/o

  • typedArray i/o

Open this result on MeasureThat.net