Ayende @ Rahien

Unnatural acts on source code

How dotTrace make an application REALLY fast

I have to admit, I was sure that using Thread.Sleep(negativeInt) was an April’s Fools joke, but It looks like some part of the framework are already taking advantage of this:

image

I must say, this make performance profiling somewhat of a challenge, since you don’t generally expect to have to improve performance by making more calls.

Comments

FallenGameR
04/09/2009 08:54 PM by
FallenGameR

More calls like this and programs will produce result before the execution.

liviu
04/10/2009 10:57 AM by
liviu

It is not exactly a bug in dottrace.

You have an intel processor with dynamic speed setup in bios.

Sergey Shishkin
04/11/2009 10:26 PM by
Sergey Shishkin

It helps to set processor affinity in the process explorer for the process you are profiling to use only a single core.

Comments have been closed on this topic.