One of the performance improvements we made in .Net was with System.Text.StringBuilder . StringBuilder is used in lots of code to build strings: it has various methods to modify strings quickly. Once a string is built, the ToString method is called to create the string. We observed via MemSpect that there were thousands of instances of empty strings being created in various scenarios, such as when VS is starting, loading or building a solution. An empty string? Why would that matter? Warning: an…(read more)
The number of Garbage Collections indicate how much memory is used
Posted by Code Monkey
on September 29, 2012
Comments are closed.