Rico Mariani's Performance Tidbits
Implying no warranties and conferring no rights: "AS IS" since 1988
A nice little article on the fallacy of premature optimization
Randall Hyde writes this very interesting article where he expounds on some notions I've often...
Author: ricom Date: 07/26/2006
Performance Signatures: A Qualitative Approach to Dependency Guidance
I've been working on an idea here in my "spare" time for quite some time now -- basically in...
Author: ricom Date: 07/26/2006
Throughput and Latency Considerations: Errata
Well hats off to Ian Griffiths who pointed out that I had screwed up my math in my previous posting....
Author: ricom Date: 07/25/2006
Throughput and Latency Considerations
You know a funny thing happened when I joined the CLR team a few years ago. After working in MSN 7...
Author: ricom Date: 07/21/2006
Glass Houses
In his article Glass houses are great places to throw stones Raymond writes in part: Whenever I...
Author: ricom Date: 07/19/2006
quiz10.cs
// quiz10.cs // this program is offered as is with no warranty implied and confers no rights.using...
Author: ricom Date: 07/18/2006
Performance Quiz #10 -- Thread local storage -- Solution
I actually posted quiz #10 quite a while ago but a comment with the correct solution came in so...
Author: ricom Date: 07/18/2006
System.Diagnostics.Stopwatch -- always remeber to use Reset
Wrong System.Diagnostics.Stopwatch s = new System.Diagnostics.Stopwatch(); s.Start(); for (i = 0; i...
Author: ricom Date: 07/18/2006
Should you move to a 64 bit platform?
Josh Williams wrote a nice summary of the big performance issues when considering x64. It's very...
Author: ricom Date: 07/18/2006
Posting suggestions for the future
Several people in my department went to Teched and they came back with some general impressions of...
Author: ricom Date: 07/17/2006
Cost of array bounds checking -- one experiment
Sometimes people ask me what the overhead of array range checking is. A while ago I did a quickish...
Author: ricom Date: 07/12/2006
MSDNWiki beta is live!
https://msdnwiki.microsoft.com/en-us/mtpswiki/default.aspx I'm super excited about this little guy. I...
Author: ricom Date: 06/16/2006
Performance Quiz #10 -- Thread local storage
It's time for another quiz! A very short one this time. If I need some thread local storage and I...
Author: ricom Date: 06/16/2006
Using ReaderWriterLock part 3 (last in this set)
Well I think it's raining ReaderWriterLocks this month! Jeff Richter has an article on MSDN that...
Author: ricom Date: 05/15/2006
Using ReaderWriterLock part 2
Well the trouble with simple samples like the one I provided in part 1 is that well... they're too...
Author: ricom Date: 05/12/2006
Using ReaderWriterLock -- are you getting what you think you're getting?
Oh boy, more locking problems for the weekend! Here's a more complicated lock that often gets used...
Author: ricom Date: 05/05/2006
Putting your synchronization at the correct level -- solution
Of course when I say "solution", I really mean "my solution" because there's not really just one way...
Author: ricom Date: 05/03/2006
Putting your synchronization at the correct level
Continuing in what's turned into my series on locking advice, I have a new example for you of a...
Author: ricom Date: 05/01/2006
Simplify your locking strategy -- simpler is better
Well I didn't mean to but it seems I'm writing a series of articles on locking. Based on my last...
Author: ricom Date: 04/28/2006
Locking -- Isolation -- Unit of Work -- Performance -- Solution
A few days ago I posted a concurrency problem for commentary and I got a very nice set of responses....
Author: ricom Date: 04/27/2006
Locking -- Isolation -- Unit of Work -- Performance
I've had a bit of a locking/threading theme in some of my recent postings so I thought I'd continue...
Author: ricom Date: 04/24/2006
First rate posting on mem analysis
I was just going through some memory leak information and I stumbled across a newish posting from...
Author: ricom Date: 04/03/2006
Same Resource, Same Lock or else locking won't give you the protection you need
I sometimes see funny locking patterns because there is a mental assumption that the lock keyword...
Author: ricom Date: 03/22/2006
Performance Quiz #9 : IList<T> List and array speed
A short and sweet quiz with lots of juicy discussion possibilities: public int...
Author: ricom Date: 03/09/2006
Winning performance on Winforms from Milena
A great article on Winforms performance from a colleague...
Author: ricom Date: 03/07/2006
I guess he's worth reading now :)
My long time friend and colleague Jack Gudenkauf has joined the CLR as an architect...
Author: ricom Date: 03/02/2006
Constant Soft Faults per second -- another old Sidewalk Story
There was one other Real Gem from my experience with Sidewalk so I thought I'd share that one too. I...
Author: ricom Date: 02/03/2006
Unmanaged Memory Fragmentation -- an old story
Before I worked on the CLR I spent several years in MSN. One of the big projects I worked on was...
Author: ricom Date: 02/02/2006
Buckle up: it’s going to be a bumpy ride
It’s not easy to get good performance culture. Perhaps at first blush you might think that it would...
Author: ricom Date: 01/11/2006
Amdahl's Law : Big Speedups From Bigger Fractions
Does everyone know Amdahl's Law? This law talks about the best gain you can hope to achieve by a...
Author: ricom Date: 12/16/2005
Exciting changes for me
I've changed jobs. Well, sort of :) For the Whidbey product release I was the performance architect...
Author: ricom Date: 12/09/2005
Performance Quiz #8 -- The problems with parsing -- Part 4
In my last posting I made some recommendations about how to drastically improve the evaluation...
Author: ricom Date: 11/29/2005
Performance Quiz #8 -- The problems with parsing -- Part 2
There were some great comments from the initial posting which I encourage you to read. Many people...
Author: ricom Date: 11/23/2005
Performance Quiz #8 -- The problems with parsing -- Part 1
I think I like parsers too much, I end up writing about them a lot. Maybe that's because about one...
Author: ricom Date: 11/22/2005
Wow, we did it!
Visual Studio 2005 and and .NET Framework 2.0 are out the door! I'm unbelievably happy! In fact I'd...
Author: ricom Date: 10/31/2005
The Performance War -- Win it 5% at a time
If it feels like getting good performance out of your application/library/service/whatever is more...
Author: ricom Date: 10/17/2005
Profiling API
I've been working with Dave Broman for many years now on assorted projects and he's just started...
Author: ricom Date: 10/06/2005
Performance Lifecycle
I get many opportunities to review documents and processes in the course of my job, and sometimes...
Author: ricom Date: 10/05/2005
Shared Bytes vs. Private Bytes
I mentioned the Whidbey improvements in this area, and their importance, in both of my talks but I...
Author: ricom Date: 09/20/2005