Script Preparation code:
AخA
 
var a = [...Array(100000)].map(_ => Math.random());
var ta = (new Float64Array(100000)).map(_ => Math.random());
Tests:
  • array i/o

     
    for (let i = 0; i < 100000; ++i)
      a[i] = a[i] + 1;
  • typedArray i/o

     
    for (let i = 0; i < 100000; ++i)
      ta[i] = ta[i] + 1;
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    array i/o
    typedArray i/o

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0
Firefox 100 on Linux
View result in a separate tab
Test name Executions per second
array i/o 2104.2 Ops/sec
typedArray i/o 3074.5 Ops/sec