Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0
Firefox 120
Ubuntu
Desktop
one year ago
Test name Executions per second
Length 10 temp swap 13153551.0 Ops/sec
Length 10 destructuring swap 11246235.0 Ops/sec
Length 100 temp swap 5999062.0 Ops/sec
Length 100 destructuring swap 5054651.0 Ops/sec
Length 1000 temp swap 357185.2 Ops/sec
Length 1000 destructuring swap 402691.2 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


;