HTML Preparation code:
AخA
 
1
<!--your preparation HTML code goes here-->
Tests:
  • concat

     
        const largeArray = new Array(10000);
          let rows = new Array(100000);
          rows = rows.concat(largeArray);
  • push

     
        const largeArray = new Array(10000);
          const rows = new Array(100000);
          rows.push(...largeArray);
  • push in a loop

     
        const largeArray = new Array(10000);
          const rows = new Array(100000);
          for (const item of largeArray) {
            rows.push(item);
          }
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    concat
    push
    push in a loop

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 months ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Chrome 132 on Linux
View result in a separate tab
Test name Executions per second
concat 1325.6 Ops/sec
push 354.8 Ops/sec
push in a loop 281.0 Ops/sec