Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36
Chrome 75
Windows
Desktop
5 years ago
Test name Executions per second
Destructuring all CONST 6510707.0 Ops/sec
Destructuring each CONST 1682010.4 Ops/sec
Destructuring all as CONST 6470559.0 Ops/sec
Destructuring each as CONST 1682975.6 Ops/sec
Variables CONST 1702435.4 Ops/sec
Destructuring all LET 6453877.0 Ops/sec
Destructuring each LET 1684743.1 Ops/sec
Destructuring all as LET 6488799.0 Ops/sec
Destructuring each as LET 1689882.9 Ops/sec
Variables LET 1705622.4 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


;