vendredi 4 mars 2011

Visual Studio Profiler

Here is an article about Visual Studio Profiler. I was checking at the enviroment and then no such a thing like a performance tools in Tools option. so I checked around to find out my version was a Profesional Edition, and that "It is by design that Professional edition of Visual Studio doesn't have this feature. you need the Visual Studio Developer edition or Team Suite edition."

Well everything goes and I will try AQTime then to watch performance on FastBanking application.

mercredi 2 mars 2011

how good is to divide groups

Reading about this topic in programmers exchange, I assume that maybe small groups would communicate better but some projects might be a bit bigger so you need to create a module for each team and focalize what you have. Still who will lead the group would have to create a methodology so developers could giveback with no overpressure. I think is good to be inmerse in UI and BL both so you would have a better understanding of the solution, but sometimes, when a developer is more skillful in one area than the other(design) you probably would have better results focusing people on what they feel more comfortable.

measure of response in method

I had the task to test a method and measure how much time was taken.

Here is how i did it:


Stopwatch sw = new System.Diagnostics.Stopwatch();
sw.Start();

FillDropDownList();
buttonContinue.Text = "it take... (ms): " + sw.ElapsedMilliseconds;

sw.Stop();


Notice that in order to use StopWatch you will need the System.Diagnostics.