Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:146.0) Gecko/20100101 Firefox/146.0
Firefox 146
Windows
Desktop
7 months ago
For loop using set with TypedArray. Length 100
36K/s
For loop direct set. Length 10
36K/s
For loop from direct data. Length 100
26K/s
For loop from direct data. Length 10
19K/s
For loop using set with seperated array. Length 100
17K/s
For loop using TypedArray. Length 100
10K/s
For loop using set. Length 100
9K/s
For loop from copied data. Length 10
7K/s
For loop using set with seperated array. Length 10
6K/s
For loop using set with TypedArray. Length 10
6K/s
For loop from copied data. Length 100
5K/s
For loop using set. Length 10
4K/s
For loop with flat Length.100
4K/s
Set with flatted array. Length 100
4K/s
Set with flatted array. Length 10
4K/s
For loop using TypedArray. Length 10
4K/s
For loop with flat. Length10
3K/s
View exact numbers
| Test name |
Executions per second |
|
✓
For loop using set with TypedArray. Length 100
|
35,593 Ops/sec |
|
For loop direct set. Length 10
|
35,546 Ops/sec |
|
For loop from direct data. Length 100
|
26,450 Ops/sec |
|
For loop from direct data. Length 10
|
19,063 Ops/sec |
|
For loop using set with seperated array. Length 100
|
16,772 Ops/sec |
|
For loop using TypedArray. Length 100
|
9,652 Ops/sec |
|
For loop using set. Length 100
|
9,344 Ops/sec |
|
For loop from copied data. Length 10
|
7,275 Ops/sec |
|
For loop using set with seperated array. Length 10
|
5,773 Ops/sec |
|
For loop using set with TypedArray. Length 10
|
5,521 Ops/sec |
|
For loop from copied data. Length 100
|
4,686 Ops/sec |
|
For loop using set. Length 10
|
4,449 Ops/sec |
|
For loop with flat Length.100
|
4,012 Ops/sec |
|
Set with flatted array. Length 100
|
3,793 Ops/sec |
|
Set with flatted array. Length 10
|
3,788 Ops/sec |
|
For loop using TypedArray. Length 10
|
3,646 Ops/sec |
|
For loop with flat. Length10
|
3,425 Ops/sec |
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