Comments
                          
                            Sort by recent activity
                          
                          
                        
                      
                      
                        The competetive method to ANTS profiler is lame one [image]  : 
1) Log current timestamp (DateTime.Now) to file (open file for appending, write, flush and close file) 
2) Execute method I'm trying to profile 
3) Log current timestamp (DateTime.Now) to file (open file for appending, write, flush and close file)  
Method I'm trying to profile reads configuration data from XML file using XmlTextReader. With ANTS profiler attached method is executing in 12seconds and without it it's executing in ~0.2sec. Method looks like that:  
While xmlTr.Read() 
If xmlTr.NodeType = XmlNodeType.EndElement And xmlTr.Name = "xxx" ... 
If myVar= True And xmlTr.NodeType = XmlNodeType.EndElement And xmlTr.Name = "yyy" 
etc. 
End While  
So basically it's just reading and parsing XML document. Difference between 0.2 and 12sec is too big and I can't profile my application because of that.  
Hope that's clearer [image]  / comments
                        
                        
                        
                      
                      
                      
                  
                  
                The competetive method to ANTS profiler is lame one  :
1) Log current timestamp (DateTime.Now) to file (open file for appending, write, flush and close file)
2) Execute method I'm trying to profile...