Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0
Firefox 124
Linux
Desktop
8 months ago
Test name Executions per second
substring & array result 3784533.8 Ops/sec
string builder & array result 2045731.5 Ops/sec
substring & string result 4394865.5 Ops/sec
string builder & string result 2090239.5 Ops/sec
substring & string result using concatenate 4244565.0 Ops/sec
Tests:
  • substring & array result

  • string builder & array result

  • substring & string result

  • string builder & string result

  • substring & string result using concatenate