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 6258535.5 Ops/sec
Destructuring each 1649665.4 Ops/sec
Destructuring all as 6485452.5 Ops/sec
Destructuring each as 1679483.9 Ops/sec
Variables 1716923.2 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


;