| Author |
Message |
Barry
Joined: 28 Jan 2011 Posts: 2
|
Posted: Fri Jan 28, 2011 6:27 pm Post subject: Wallclock Time Question |
|
|
I am testing two versions of our application, one built with .Net 1.1 and the other on .Net 3.5.
The testing is isolated on a development workstation and all external devices; [SQL Server, etc.] are the same.
When comparing wall-clock time for the top level process in a given call stack I am do not understand the results I am seeing.
Application A shows a time of 250.764 and application B shows 229.300.
In this scenario I would expect that application B would complete the task quicker than application A.
When run outside the profiler application A completes the task in 70% of the time taken by application B.
Any help in explaining what I am misunderstanding appreciated. |
|
| Back to top |
|
 |
Chris.Allen
Joined: 12 Mar 2009 Posts: 443
|
Posted: Mon Jan 31, 2011 6:46 pm Post subject: |
|
|
| You can only do accurate *absolute* timings when the profiler is in low-overhead mode. This discounts using line-level profiling. Can you repeat the experiment with sampling mode? Also, wall-clock times are going to be heavily influenced by external latencies. Try CPU timing first - again if its comparing *absolute* time you are interested in. |
|
| Back to top |
|
 |
Barry
Joined: 28 Jan 2011 Posts: 2
|
Posted: Mon Jan 31, 2011 9:48 pm Post subject: Re: |
|
|
| Chris.Allen wrote: |
| You can only do accurate *absolute* timings when the profiler is in low-overhead mode. This discounts using line-level profiling. Can you repeat the experiment with sampling mode? Also, wall-clock times are going to be heavily influenced by external latencies. Try CPU timing first - again if its comparing *absolute* time you are interested in. |
Thank you for the information: I'll try it with those settings and get back to you if I am still confused. |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group