Writing Fast Code (Resources)
This article is intended to help me remember where can I find these resources, also kind of helpful should I need to forward this to someone. Hopefully, this post will be continuously updated.
Managed code is very fast in allocating memory, the problem is if the applications allocated too many unnecessary objects. Keep your memory allocation as necessary. JIT does a very good job generating fast machine code, so focus on memory.
- Article/books
- Improving .NET Application Performance and Scalability (https://msdn.microsoft.com/en-us/library/ms998530.aspx).
This is an excellent resources on performance. - Writing Faster Managed Code: Know What Things Cost (https://msdn.microsoft.com/en-us/library/ms973852.aspx).
- Garbage Collector Basics and Performance Hints (https://msdn.microsoft.com/en-us/library/ms973837.aspx).
- Improving .NET Application Performance and Scalability (https://msdn.microsoft.com/en-us/library/ms998530.aspx).
- Blogs
- Rico Mariani's Performance Tidbits (https://blogs.msdn.com/ricom).
A lot of good information about performance engineering in general. - Maoni's Web blog (https://blogs.msdn.com/maoni)
You need to know how GC works in managed environment to write good managed code applications.
- Rico Mariani's Performance Tidbits (https://blogs.msdn.com/ricom).
- Tools:
Last updated: 1/11/2009.