Tests:
-
template literal
-
array join
-
string concat
-
the + operator
-
unallocated array join
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
8 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36 Edg/142.0.0.0
Chrome 142 on Windows
View result in a separate tab
template literal
141.4M/s
unallocated array join
15.7M/s
View exact numbers
| Test name |
Executions per second |
|
✓
the + operator
|
160,425,008 Ops/sec |
|
template literal
|
141,353,216 Ops/sec |
|
string concat
|
30,776,770 Ops/sec |
|
array join
|
17,370,126 Ops/sec |
|
unallocated array join
|
15,734,859 Ops/sec |
Do you really want to delete benchmark?