Script Preparation code:
AخA
 
arrayParam = (a) => {console.log(a)}
restParam = (...a) => {console.log(a)}
Tests:
  • array Param

     
    const arr1 = [1,2,3,4,5]
    arrayParam(arr1);
  • rest Param

     
    restParam(1,2,3,4,5)
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    array Param
    rest Param

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36
Chrome 90 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
array Param 57209.9 Ops/sec
rest Param 56770.5 Ops/sec