Script Preparation code:
AخA
 
var strings = Array(1000).fill('hola soy edu feliz navidad');
Tests:
  • For loop

     
    let result = ''
    for(let i = 0; i < strings.length; i++) {
      result += strings[i] + '\n';
    }
  • join

     
    const result = strings.join('\n');
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    For loop
    join

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 10 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Chrome 135 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
For loop 239660.2 Ops/sec
join 190884.4 Ops/sec