Script Preparation code:
AخA
 
var globalData = {
    data: {
        data1: {
            data2: {
                property: "value",
            }
        }
    },
};
Tests:
  • Destructuring Notation

     
    var {data: {data1: {data2: {property}} }} = globalData;
  • Dot Notation

     
    var property = globalData.data.data1.data2.property;
  • Bracket Notation

     
    var property = globalData['data']['data1']['data2']['property']
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    Destructuring Notation
    Dot Notation
    Bracket Notation

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130 on Windows
View result in a separate tab
Test name Executions per second
Destructuring Notation 8400939.0 Ops/sec
Dot Notation 7696638.5 Ops/sec
Bracket Notation 7214762.5 Ops/sec