Bob Isolates the Problem with the SlickEdit Tools Quick Profiler
"Oh," said Bob, "about that performance problem. I used the Visual Studio profiler and found the problem was generally in the EmployeeData class. I then used the SlickEdit Tools Quick Profiler to really isolate the problem. It lets me associate data values with the captured performance timing. It turns out that there was a set of customer names that were causing problems. It turns out they are international customers and there were lots of exceptions being thrown when parsing their phone number formats. I fixed up the code, reran the test and got much better results... problem solved."
"Amazing, Bob!" said Frank. "Alright everybody, team lunch is on me today!"
Over lunch, the team asked Bob how he was able to fix the phone number problem so quickly. "That code uses some really complex regex matching," they said. "Regex can be so frustrating because it feels like trial and error until you get it right. It took us forever to write that, and even then it didn't work."
"Regex is easy with SlickEdit Tools," Bob said with a smile. "It has a feature called the Regex Evaluator which it incorporates into Visual Studio. It helps you interactively build regex queries, and then lets you test them on the fly. You can even test your regex against the text in an editor window. That lets you to set up thorough tests for your regex quickly. Once you've written your regex, you can even save it to a personal library. That tool helped me fix the problem and test it at the same time."
"Incredible!" they all said.
After lunch, everyone had installed the SlickEdit Tools trial. Soon, the team was using directory aliases to quickly navigate their source directories. Their C++ source code could be navigated like never before with the new code navigation capabilities. Features like Word Completions and Acronyms let them code faster than they ever had before. With the demo on the horizon, the team's outlook turned from despair to confidence.
From across the room someone yelled out, "Look at this… my comments are wrapping! It's just like using a word processor!"
"That's right," said Bob. "With SlickEdit Tools, you can configure the editor to format comments as you type. Wrapping works with any type of comment—line comments, block comments, XMLdoc and Javadoc comments. Existing comments can even be reflowed, or reformatted. You'll never have to format your comment blocks by hand again."
|