Tests:
  • substring & array result

  • string builder & array result

  • substring & string result

  • string builder & string result

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    substring & array result
    string builder & array result
    substring & string result
    string builder & string result

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 7 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36
Chrome 124 on Windows
View result in a separate tab
Test name Executions per second
substring & array result 2954918.5 Ops/sec
string builder & array result 2076609.6 Ops/sec
substring & string result 4155907.0 Ops/sec
string builder & string result 2064311.4 Ops/sec