Tests:
-
reduce + concat
-
flat
-
Manual copy by index #1
-
Manual copy by index #2
-
Manual copy with push
-
reduce + spread
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
9 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:146.0) Gecko/20100101 Firefox/146.0
Firefox 146 on Windows
View result in a separate tab
Manual copy by index #2
3K/s
Manual copy with push
3K/s
Manual copy by index #1
2K/s
View exact numbers
| Test name |
Executions per second |
|
✓
Manual copy by index #2
|
2,924 Ops/sec |
|
Manual copy with push
|
2,727 Ops/sec |
|
Manual copy by index #1
|
2,352 Ops/sec |
|
flat
|
1,743 Ops/sec |
|
reduce + concat
|
194 Ops/sec |
|
reduce + spread
|
36 Ops/sec |
Do you really want to delete benchmark?