Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Chrome 108
Linux
Desktop
one year ago
Test name Executions per second
subarray direct 15451051.0 Ops/sec
slice direct 11794806.0 Ops/sec
subarray copy 5448221.0 Ops/sec
slice copy 4952686.5 Ops/sec
subarray set 3831536.0 Ops/sec
slice set 3672784.5 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set