Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0
Firefox 123
Linux
Desktop
8 months ago
Test name Executions per second
Length 10 temp swap 7061517.5 Ops/sec
Length 10 destructuring swap 5974039.0 Ops/sec
Length 100 temp swap 3152484.0 Ops/sec
Length 100 destructuring swap 3414105.8 Ops/sec
Length 1000 temp swap 114142.7 Ops/sec
Length 1000 destructuring swap 112917.9 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


;