Run details:
Mozilla/5.0 (Linux; Android 10; Mi MIX 2S) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Mobile Safari/537.36
Chrome Mobile 111
Android
Mobile
one year ago
Test name Executions per second
Length 10 temp swap 452480.2 Ops/sec
Length 10 destructuring swap 433989.0 Ops/sec
Length 100 temp swap 341193.0 Ops/sec
Length 100 destructuring swap 340528.5 Ops/sec
Length 1000 temp swap 224824.4 Ops/sec
Length 1000 destructuring swap 246010.1 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


;