Script Preparation code:
AخA
 
var fn1 = (a,b) => a + b
var fn2 = function(a,b){ return a + b }
Tests:
  • arrow fn

     
    fn1(1,1)
  • function

     
    fn2(1,1)
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    arrow fn
    function

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
arrow fn 32860244.0 Ops/sec
function 33178506.0 Ops/sec