Script Preparation code:
AخA
 
var obj = {a: { e: { i: 6, title: "", desc: "" }, items: [] }, b: { e: {g: {}}} };
Tests:
  • Assign

     
    const i = obj.a.e.i;
    console.log(i);
  • Destructure

     
    const {a: {e: {i}}} = obj;
    console.log(i);
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    Assign
    Destructure

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36
Chrome 97 on Windows
View result in a separate tab
Test name Executions per second
Assign 110466.5 Ops/sec
Destructure 113059.5 Ops/sec