Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36 OPR/62.0.3331.99
Opera 62
Windows
Desktop
5 years ago
Test name Executions per second
Destructuring all CONST 6472607.5 Ops/sec
Destructuring each CONST 1675784.4 Ops/sec
Destructuring all as CONST 6520934.0 Ops/sec
Destructuring each as CONST 1674247.8 Ops/sec
Variables CONST 1692531.5 Ops/sec
Destructuring all LET 6539369.5 Ops/sec
Destructuring each LET 1681510.8 Ops/sec
Destructuring all as LET 6537590.5 Ops/sec
Destructuring each as LET 1683866.2 Ops/sec
Variables LET 1716556.0 Ops/sec
Script Preparation code:
Tests:
  • Destructuring all CONST

  • Destructuring each CONST

  • Destructuring all as CONST

  • Destructuring each as CONST

  • Variables CONST

  • Destructuring all LET

  • Destructuring each LET

  • Destructuring all as LET

  • Destructuring each as LET

  • Variables LET


;