Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Chrome 117
Android
Desktop
one year ago
Test name Executions per second
subarray direct 3469257.5 Ops/sec
slice direct 2409744.2 Ops/sec
subarray copy 1151420.6 Ops/sec
slice copy 1208213.9 Ops/sec
subarray set 1441059.9 Ops/sec
slice set 1390406.2 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set


;