Sign In
Rico Mariani's Performance Tidbits
Implying no warranties and conferring no rights: "AS IS" since 1988
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
databases
debuggers
design advice
History of Visual Studio
locking
Pages
performance
quiz
ramblings
recommendations
signatures
using tools
visual studio
Archive
Archives
February 2012
(1)
January 2012
(3)
December 2011
(1)
November 2011
(1)
September 2011
(1)
September 2010
(1)
June 2010
(1)
April 2010
(5)
December 2009
(1)
October 2009
(13)
September 2009
(2)
August 2009
(1)
June 2009
(3)
May 2009
(3)
December 2008
(1)
November 2008
(4)
September 2008
(2)
August 2008
(6)
June 2008
(2)
May 2008
(2)
February 2008
(2)
January 2008
(2)
November 2007
(5)
October 2007
(2)
September 2007
(3)
August 2007
(3)
July 2007
(3)
June 2007
(6)
May 2007
(1)
April 2007
(2)
March 2007
(1)
February 2007
(5)
January 2007
(7)
December 2006
(2)
November 2006
(1)
September 2006
(4)
August 2006
(4)
July 2006
(12)
June 2006
(3)
May 2006
(5)
April 2006
(6)
March 2006
(6)
February 2006
(2)
January 2006
(2)
December 2005
(2)
November 2005
(8)
October 2005
(4)
September 2005
(4)
August 2005
(7)
July 2005
(2)
June 2005
(3)
May 2005
(12)
April 2005
(3)
March 2005
(5)
February 2005
(2)
January 2005
(3)
December 2004
(2)
November 2004
(2)
October 2004
(3)
September 2004
(4)
August 2004
(3)
July 2004
(4)
June 2004
(8)
May 2004
(6)
April 2004
(4)
March 2004
(8)
February 2004
(4)
January 2004
(3)
December 2003
(11)
December, 2003
MSDN Blogs
>
Rico Mariani's Performance Tidbits
>
December, 2003
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Rico Mariani's Performance Tidbits
Exception Cost: When to throw and when not to
Posted
over 9 years ago
by
ricom
24
Comments
The Cost of Exceptions I wish I could speak intelligently on the exact cost but it's really quite difficult to project for any given usage, it's best measured for your specific cases. However there are a couple of different kinds of cost and they're...
Rico Mariani's Performance Tidbits
More StringBuilder advice
Posted
over 9 years ago
by
ricom
14
Comments
I first wrote about this here , but I've since received several requests for more prescriptive advice on the subject. Again you can never be sure without understanding the exact usage pattern because the results really do vary widely but here's some general...
Rico Mariani's Performance Tidbits
Designing for Performance
Posted
over 9 years ago
by
ricom
5
Comments
I wrote this article back in July and it ended up being the basis of this video (scroll to where it says “Thinking about Performance” and choose a speed) I was going to have the article edited and published seperately but somehow that never...
Rico Mariani's Performance Tidbits
Another bad lock pattern
Posted
over 9 years ago
by
ricom
13
Comments
A while ago I asked Dr. GUI to post an MSDN article about the perils of using lock(typeof(Foo)), you can still find that article here . But recently I've started seeing another pattern that's just as bad: class MyClass { private static String...
Rico Mariani's Performance Tidbits
Mid-life crisis
Posted
over 9 years ago
by
ricom
35
Comments
This particular problem (I call it mid-life-crisis) seems to come up fairly often so I thought I'd write up some general advice on it. The symptoms go something like this: There is a server process (usually a web server) and that process has a high percentage...
Rico Mariani's Performance Tidbits
My new home
Posted
over 9 years ago
by
ricom
0
Comments
Well here I am in my new home, feels comfy already. I copied my old postings here for easy reference, the originals with comments are still on http://blogs.gotdotnet.com/ricom , but there won't be any new articles there. Happy Holidays!
Rico Mariani's Performance Tidbits
Two things to avoid for better memory usage
Posted
over 9 years ago
by
ricom
23
Comments
OK, I never give rules, because they always have exceptions, and I won't start today, but I'm gonna give a couple things that look like rules but aren't. I'll leave it as an exercise to the reader to decide when they should break these almost-rules :...
Rico Mariani's Performance Tidbits
Locality of reference and performance
Posted
over 9 years ago
by
ricom
2
Comments
Eric Gunnerson told me he had some requests for information on how to get good locality of reference when using the CLR. This is a topic that's near and dear to me so that's all the provocation I needed to blog about it. I think first it's important...
Rico Mariani's Performance Tidbits
Concatenating with StringBuilders vs. Strings
Posted
over 9 years ago
by
ricom
9
Comments
I would never make a statement so bold as "Use Stringbuilders to concatenate" without having a deeper understanding of the concatenation pattern. I tend to give advice like "Many users find Stringbuilders useful for their concatenation pattens, consider...
Rico Mariani's Performance Tidbits
Good talk on performance culture
Posted
over 9 years ago
by
ricom
7
Comments
Plugging my own video, I think it's pretty entertaining for a talk a performance, even has some content. :) http://gotdotnet.com/team/clr/about_clr_performance.aspx The points from the key slides are Rule #1: Measure Just thinking about...
Rico Mariani's Performance Tidbits
Loop unrolling for speed
Posted
over 9 years ago
by
ricom
1
Comments
I recently saw a posting where someone was considering a great deal of loop unrolling. I can imagine some exotic case where this is a good idea however in general it's more likely to be bad that good. For those that aren't familiar with the term, loop...
Page 1 of 1 (11 items)