Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Chrome 132
Linux
Desktop
one month ago
Test name Executions per second
array[i] = i; 245725.6 Ops/sec
view.setFloat32(i, i) 73097.2 Ops/sec
array[i] = i; 2 246315.1 Ops/sec
view.setFloat32(i, i) 2 75058.0 Ops/sec
Script Preparation code:
Tests:
  • array[i] = i;

  • view.setFloat32(i, i)

  • array[i] = i; 2

  • view.setFloat32(i, i) 2