Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Chrome 123
Linux
Desktop
8 months ago
Test name Executions per second
substring & array result 4674656.5 Ops/sec
string builder & array result 3601896.5 Ops/sec
substring & string result 7538035.0 Ops/sec
string builder & string result 3834725.8 Ops/sec
substring & string result using concatenate 6560102.0 Ops/sec
Tests:
  • substring & array result

  • string builder & array result

  • substring & string result

  • string builder & string result

  • substring & string result using concatenate