Tests:
  • new

    AخA
     
    const array = new Float32Array([1, 2, 3]);
  • .of()

     
    const array = Float32Array.of(1, 2, 3);
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    new
    .of()

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0
Firefox 113 on Ubuntu
View result in a separate tab
Test name Executions per second
new 7355355.0 Ops/sec
.of() 12192884.0 Ops/sec