Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1
Mobile Safari 17
iOS 17.0
Mobile
one year ago
Test name Executions per second
subarray direct 8864584.0 Ops/sec
slice direct 7928687.0 Ops/sec
subarray copy 3743500.0 Ops/sec
slice copy 4127721.0 Ops/sec
subarray set 3140405.5 Ops/sec
slice set 4156282.2 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set