HTML Preparation code:
AخA
 
1
<!--your preparation HTML code goes here-->
Script Preparation code:
x
 
const obj = { a: 1 };
const company1 = {
    get ab() {
        return (key) => {
            return obj[key];
        }
    }
}
const api1 = {
    get ab() {
        return company1.ab;
    }
}
const company2 = {
    ab(key) {
        return obj[key];
    }
}
const api2 = {
    ab: company2.ab,
}
Tests:
  • old

     
    api1.ab('a')
  • new

     
    api2.ab('a')
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    old
    new

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
old 37218708.0 Ops/sec
new 150184672.0 Ops/sec