Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:107.0) Gecko/20100101 Firefox/107.0
Firefox 107
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
Length 10 temp swap 14274067.0 Ops/sec
Length 10 destructuring swap 10640989.0 Ops/sec
Length 100 temp swap 7866124.5 Ops/sec
Length 100 destructuring swap 6675959.5 Ops/sec
Length 1000 temp swap 747816.8 Ops/sec
Length 1000 destructuring swap 659739.0 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


;