Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4.1 Mobile/15E148 Safari/604.1
Mobile Safari 17
iOS 17.4.1
Mobile
5 months ago
Test name Executions per second
subarray direct 14691080.0 Ops/sec
slice direct 14023545.0 Ops/sec
subarray copy 6543086.5 Ops/sec
slice copy 6059601.0 Ops/sec
subarray set 6509513.5 Ops/sec
slice set 5394799.5 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set


;