Profiler Speed

bearophile bearophileHUGS at lycos.com
Thu Jan 15 14:30:34 PST 2009


Nick Sabalausky:
> Isn't that kind of a common thing with profilers in general?

Any physical measure alters the thing to be measured, but with a good enough brain you can generally invent ways to decrease such alteration to tolerable levels. So it's a matter of inventing better solutions.

There are many kinds of profilers, some of them work "outside" with a random probing of a program, while it runs. I think such kind of profiler may slow down your code as little as you want (but the less it sample the less precise is the result).

The new Intel CPUs also have some hardware to profile programs with a very little overhead.

Bye,
bearophile



More information about the Digitalmars-d mailing list