Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Chrome 114
Linux
Desktop
one year ago
Test name Executions per second
subarray direct 12236245.0 Ops/sec
slice direct 9440293.0 Ops/sec
subarray copy 4212862.0 Ops/sec
slice copy 3776302.5 Ops/sec
subarray set 3996200.0 Ops/sec
slice set 3581473.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set