Script Preparation code:
Tests:
  • subarray direct

  • slice direct

  • subarray copy

  • slice copy

  • subarray set

  • slice set

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    subarray direct
    slice direct
    subarray copy
    slice copy
    subarray set
    slice set

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0
Chrome 131 on Windows
View result in a separate tab
Test name Executions per second
subarray direct 33482980.0 Ops/sec
slice direct 25688012.0 Ops/sec
subarray copy 20330938.0 Ops/sec
slice copy 14571328.0 Ops/sec
subarray set 15768458.0 Ops/sec
slice set 14969265.0 Ops/sec