Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0
Firefox 68
Windows
Desktop
5 years ago
Test name Executions per second
Destructuring all CONST 253622432.0 Ops/sec
Destructuring each CONST 72717144.0 Ops/sec
Destructuring all as CONST 254532512.0 Ops/sec
Destructuring each as CONST 72164824.0 Ops/sec
Variables CONST 72818920.0 Ops/sec
Destructuring all LET 255095552.0 Ops/sec
Destructuring each LET 72177144.0 Ops/sec
Destructuring all as LET 253451680.0 Ops/sec
Destructuring each as LET 72299584.0 Ops/sec
Variables LET 72645112.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


;