Script Preparation code:
Tests:
  • array[i] = i;

  • view.setFloat32(i, i)

  • array[i] = i; 2

  • view.setFloat32(i, i) 2

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    array[i] = i;
    view.setFloat32(i, i)
    array[i] = i; 2
    view.setFloat32(i, i) 2

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (iPhone; CPU iPhone OS 18_3_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3.1 Mobile/15E148 Safari/604.1
Mobile Safari 18 on iOS 18.3.2
View result in a separate tab
Test name Executions per second
array[i] = i; 171252.5 Ops/sec
view.setFloat32(i, i) 109994.3 Ops/sec
array[i] = i; 2 171448.1 Ops/sec
view.setFloat32(i, i) 2 109998.0 Ops/sec