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

  • Length 10 xor swap

  • Length 100 xor swap

  • Length 1000 xor swap

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Length 10 temp swap
    Length 10 destructuring swap
    Length 100 temp swap
    Length 100 destructuring swap
    Length 1000 temp swap
    Length 1000 destructuring swap
    Length 10 xor swap
    Length 100 xor swap
    Length 1000 xor swap

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0
Firefox 128 on Windows
View result in a separate tab
Test name Executions per second
Length 10 temp swap 16143024.0 Ops/sec
Length 10 destructuring swap 14185961.0 Ops/sec
Length 100 temp swap 8796710.0 Ops/sec
Length 100 destructuring swap 3342906.0 Ops/sec
Length 1000 temp swap 550042.6 Ops/sec
Length 1000 destructuring swap 557293.6 Ops/sec
Length 10 xor swap 15054834.0 Ops/sec
Length 100 xor swap 8785480.0 Ops/sec
Length 1000 xor swap 547070.6 Ops/sec


;