Tests:
  • arrow

    x
     
    const arrowFunction = (name, surname) => console.log(`hi, ${name} ${surname}`);
    arrowFunction('x', 'y');
  • regular

     
    function regularFunction (name, surname){
        console.log(`hi, ${name} ${surname}`);
    }
    regularFunction('x', 'y');
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    arrow
    regular

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Linux; Android 8.0.0; ASUS_X00RD) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Mobile Safari/537.36
Chrome Mobile 110 on Android 8.0.0
View result in a separate tab
Test name Executions per second
arrow 17371.1 Ops/sec
regular 16320.2 Ops/sec