Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120
Linux
Desktop
one year ago
Test name Executions per second
subarray direct 31053592.0 Ops/sec
slice direct 24429764.0 Ops/sec
subarray copy 11517002.0 Ops/sec
slice copy 10917735.0 Ops/sec
subarray set 11168039.0 Ops/sec
slice set 10204764.0 Ops/sec
Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set