Script Preparation code:
Tests:
  • slice

  • substr

  • substring

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    slice
    substr
    substring

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0
Firefox 80 on Windows
View result in a separate tab
Test name Executions per second
slice 1077208.0 Ops/sec
substr 1085065.0 Ops/sec
substring 1129447.0 Ops/sec

Recommended literature: