| Author |
Message |
vcbnvbm
Joined: 25 Sep 2010 Posts: 9
|
Posted: Thu Feb 10, 2011 5:33 am Post subject: write barrier performance impact |
|
|
| It seems, ANTS profiler is not aware of write barrier performance impact? At least, in my sample it didn't show the real place which executed very slowly (because of write barrier) |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6369 Location: Red Gate Software
|
Posted: Sat Mar 19, 2011 12:44 pm Post subject: |
|
|
Sorry for the delay, but I did eventually get an answer to this question after asking around.
The profiler measures real time spent in any given place, so that should include time caused by write barriers. It's possible that something else the profiler does causes the behaviour of the CLR to be different in such a way that the performance issue does not occur (line-level timing in particular will change this performance): switching to one of the profiling modes marked as 'more accurate' will report this; sampling should be particularly representative of the real performance of the application.
In general, it's not possible to measure the performance of a single write barrier, only the cumulative effect of them over a longer period of time. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| 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