Script Preparation code:
AخA
 
function add(a, b){
    return a + b
}
function addRef(a, b){
    return add(a, b)
}
function addRef2(a, b){
    return addRef(a, b)
}
Tests:
  • inline

     
    10+20
  • function call

     
    add(10, 20)
  • function call x2

     
    addRef(10, 20)
  • function call x3

     
    addRef2(10, 20)
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    inline
    function call
    function call x2
    function call x3

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Chrome 119 on Windows
View result in a separate tab
Test name Executions per second
inline 1538547072.0 Ops/sec
function call 13947398.0 Ops/sec
function call x2 7176428.0 Ops/sec
function call x3 4429218.0 Ops/sec