Tests:
  • fill

    AخA
     
    let a = Array(600000).fill(16)
  • push

     
    let a = [];
    for(let i = 0; i< 600000;i++) a.push(16);
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    fill
    push

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.143 YaBrowser/22.5.0.1916 Yowser/2.5 Safari/537.36
Yandex Browser 22 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
fill 589.0 Ops/sec
push 104.8 Ops/sec