What is the performance impact of tracing in C# and ASP.NET?
        Posted  
        
            by SkippyFire
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by SkippyFire
        
        
        
        Published on 2009-03-24T13:32:17Z
        Indexed on 
            2010/04/21
            13:23 UTC
        
        
        Read the original article
        Hit count: 335
        
I found this in some production login code I was looking at recently...
HttpContext.Current.Trace.Write(query + ": " + username + ", " + password));
...where query is a short SQL query to grab matching users. Does this have any sort of performance impact? I assume its very small.
Also, what is the purpose of this exact type of trace, using the HTTP Context? Where does this data get traced to? Thanks in advance!
© Stack Overflow or respective owner