Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0
Firefox 74
Ubuntu
Desktop
4 years ago
Test name Executions per second
subarray direct 4758791.5 Ops/sec
slice direct 8188287.0 Ops/sec
subarray copy 2227378.8 Ops/sec
slice copy 2935588.0 Ops/sec
subarray set 3326672.0 Ops/sec
slice set 4875514.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set


;