We tend to notice when applications are slow but take for granted ones that aren’t. Sometimes, performance is about perception, as when you click a button and nothing happens, so you don’t know whether you clicked it. A way to handle this situation is to make the button inactive or change its color immediately so you’ll get the impression that it’s working fast even if the underlying action takes the same amount of time.
This chapter doesn’t go into these kinds of techniques; instead, it focuses on how to make your .NET applications faster. You’ll learn about some tools and techniques that measure, profile, and analyze performance. Like security, performance is a vast topic that can’t be covered in a chapter, but we’ll explore some of the basics.