title: Concat an integer to a String - use String literal or primitive from performance and memory point of view?
body: <p>Option 1:</p>
  
  <pre><code>String newStr = someStr + 3 + "]";
  </code></pre>
  
  <p>Option 2:</p>
  
  <pre><code>String newStr = someStr + "3" + "]";
  </code></pre>
  
  <p>Which option is better with regards to performance, memory and general practice?
  What are some recommended tools/ways I can use to measure memory usage of my code and its performance (besides measuring the start time and the end time and calculate the difference)</p>