Script Preparation code:
Tests:
  • Regex match count

  • Get replaced text length with regex

  • Get replaced text length with String.replaceAll()

  • Get replaced text length with String.split()

  • Calculate with String.split()

  • Calculate in simple for loop

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Regex match count
    Get replaced text length with regex
    Get replaced text length with String.replaceAll()
    Get replaced text length with String.split()
    Calculate with String.split()
    Calculate in simple for loop

    Fastest: N/A

    Slowest: N/A

Latest run results:

No previous run results

This benchmark does not have any results yet. Be the first one to run it!