Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:144.0) Gecko/20100101 Firefox/144.0
Firefox 144
Windows
Desktop
8 months ago
Test name Executions per second
For loop from direct data. Length 10 79867.6 Ops/sec
For loop from copied data. Length 10 22301.2 Ops/sec
For loop with flat. Length10 10453.2 Ops/sec
For loop using TypedArray. Length 10 20496.2 Ops/sec
For loop using set. Length 10 16928.6 Ops/sec
For loop using set with seperated array. Length 10 20724.3 Ops/sec
For loop using set with TypedArray. Length 10 19019.8 Ops/sec
For loop direct set. Length 10 125254.8 Ops/sec
For loop from direct data. Length 100 92656.9 Ops/sec
For loop from copied data. Length 100 14732.9 Ops/sec
For loop with flat Length.100 10254.4 Ops/sec
For loop using TypedArray. Length 100 28626.2 Ops/sec
For loop using set. Length 100 25915.6 Ops/sec
For loop using set with seperated array. Length 100 47414.5 Ops/sec
For loop using set with TypedArray. Length 100 132247.8 Ops/sec
Set with flatted array. Length 10 10136.0 Ops/sec
Set with flatted array. Length 100 9987.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • For loop from direct data. Length 10

  • For loop from copied data. Length 10

  • For loop with flat. Length10

  • For loop using TypedArray. Length 10

  • For loop using set. Length 10

  • For loop using set with seperated array. Length 10

  • For loop using set with TypedArray. Length 10

  • For loop direct set. Length 10

  • For loop from direct data. Length 100

  • For loop from copied data. Length 100

  • For loop with flat Length.100

  • For loop using TypedArray. Length 100

  • For loop using set. Length 100

  • For loop using set with seperated array. Length 100

  • For loop using set with TypedArray. Length 100

  • Set with flatted array. Length 10

  • Set with flatted array. Length 100