Run details:
Mozilla/5.0 (iPad; CPU OS 12_5_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Mobile/15E148 Safari/604.1
Mobile Safari 12
iOS 12.5.5
Tablet
one year ago
Test name Executions per second
Length 10 temp swap 299403.7 Ops/sec
Length 10 destructuring swap 320495.8 Ops/sec
Length 100 temp swap 259801.3 Ops/sec
Length 100 destructuring swap 269046.0 Ops/sec
Length 1000 temp swap 135822.1 Ops/sec
Length 1000 destructuring swap 138579.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


;