Blog moved to http://www.andrevdm.com/

Friday 29 March 2013

Efficiently Tracking Response Time Percentiles (in C#)

 

When looking for a better way to track response times than a simple min/max/average statistic recently I found a great article that had a clever solution. This article shows how to efficiently track the n-th percentile performance while storing only a small amount of data. See the full original article here http://techblog.molindo.at/2009/11/efficiently-tracking-response-time-percentiles.html

The original code is in Java but I needed it in .NET so I’ve created a .net version on github (https://github.com/andrevdm/PercentilePerformance). I chose to do a complete rewrite rather than porting the Java code so the class names etc will be different. The idea however is the same.

My .net version can generate output in three formats

PNG

clip_image002

HTML

image

 

Text

image

 

I hope this proves useful to someone.

No comments:

Post a Comment