Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/112.0
Firefox 112
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
subarray direct 7737561.0 Ops/sec
slice direct 13740765.0 Ops/sec
subarray copy 5028725.5 Ops/sec
slice copy 6118305.5 Ops/sec
subarray set 6246335.5 Ops/sec
slice set 8561850.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set