Performance tracing in c# -
I would like to explore the display within the AC # mobile application, so that there is some time information required to run for a long time Methods The goal is to know the performance at the level of the methods. It will be fixed on tracing runtime
First of all came the idea that to maintain a global variable "dohevotechtrace", to check a potentially treacherous method every time, and it should be ascertained that the variable is correct. And in this case, I would probably use a logger or trace alicer to write infos tracing in a file.
But I think that this system is very heavy, because in each method a variable should be checked, and the logger call must be coded.
I also thought about aspect programming (insert the code before marking (and) later (), but I do not think aspect programming within the program may be allowed.
So I was thinking, is there any other good mechanism that can see this type of performance? Is it possible to find out the whole method and decision to stop or resume tracing on runtime? to do
I hope I was clear, thank you
Whatever you are trying to find out, but if you are trying to track the time between long-lasting ways, then maybe it would be better to be connected in. Here one
A commercial profiler will be another simple option.
Comments
Post a Comment