Script Preparation code:
Tests:
  • substring without end point

  • slice without end point

  • substring with end point

  • slice with end point

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    substring without end point
    slice without end point
    substring with end point
    slice with end point

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101 Firefox/108.0
Firefox 108 on Windows
View result in a separate tab
Test name Executions per second
substring without end point 12576190.0 Ops/sec
slice without end point 12189013.0 Ops/sec
substring with end point 9187487.0 Ops/sec
slice with end point 8977258.0 Ops/sec