Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36
Chrome 101
Windows
Desktop
one year ago
Test name Executions per second
Universal move to start 3.9 Ops/sec
Universal move to end 4.7 Ops/sec
Move to start 0.7 Ops/sec
Move to end 0.7 Ops/sec
Universal move to start (new array) 6.7 Ops/sec
Universal move to end (new array) 7.2 Ops/sec
Script Preparation code:
Tests:
  • Universal move to start

  • Universal move to end

  • Move to start

  • Move to end

  • Universal move to start (new array)

  • Universal move to end (new array)