Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0
Firefox 128
Windows
Desktop
3 months ago
Test name Executions per second
Length 10 temp swap 15711813.0 Ops/sec
Length 10 destructuring swap 13853385.0 Ops/sec
Length 100 temp swap 3322684.2 Ops/sec
Length 100 destructuring swap 3301465.0 Ops/sec
Length 1000 temp swap 560739.8 Ops/sec
Length 1000 destructuring swap 473342.4 Ops/sec
Script Preparation code:
Tests:
  • Length 10 temp swap

  • Length 10 destructuring swap

  • Length 100 temp swap

  • Length 100 destructuring swap

  • Length 1000 temp swap

  • Length 1000 destructuring swap


;