Slide 1 1 TCSS 360, Spring 2005 Lecture Notes Performance Testing: Optimization and Profiling Slide 2 2 What's wrong with this code? public class BuildBigString { public…