Time values i'm getting seem to be frivolous
ncage
Posts: 3
I'm profiling a web application (which consist of a web front end and a wcf backend). The numbers i'm getting from ants performance profiler (9.5.0.853 professional) seem to be frivolous. I have two instance of the profiler running (one for the wcf service and one for the front end website). Here is a perfect example
The function i have highlighted its telling me it is taking 63.108 seconds. There is no way its even close to that. You can see how simple the function is. When i'm debugging, using visual studio 2015, that function takes less than a second. With all optimizations turned off. When i compiled my app for profiling with redgate of course i used a release build. If i switch it to CPU time instead of "Wall-clock time" the results are similar. Its telling me that 63.122 seconds of CPU time were taken.
To lessen profiler overhead i chose "method-level timings; methods with source"
The function i have highlighted its telling me it is taking 63.108 seconds. There is no way its even close to that. You can see how simple the function is. When i'm debugging, using visual studio 2015, that function takes less than a second. With all optimizations turned off. When i compiled my app for profiling with redgate of course i used a release build. If i switch it to CPU time instead of "Wall-clock time" the results are similar. Its telling me that 63.122 seconds of CPU time were taken.
To lessen profiler overhead i chose "method-level timings; methods with source"
Comments
This is a bug in APP, to do with how the profiler handles async code in vb.net. We're in the process of issuing a fix for it and there should be a new build available today or Monday.
The bug is PP-3163, for your reference.
thanks...