Jump to content
Sign in to follow this  
mplynch

Desktop Execution Trace Toolkit & Performance

Recommended Posts

I probably just didn't land the right search terms to find it, but I've had little luck locating any technical information on the performance of using Generate User-Defined Trace Event calls.  Is there any world in which it's a good idea to leave them in code just in case you need it later?  I'm interested in best practices here.  Another idea was maybe to use a conditional disable structure to ignore the code if a flag is set.  Is it worth all that effort, or is it fairly innocuous to just leave the calls in and take whatever (perhaps small) performance hit?

Are ther eany other recommended techniques for leaving debug logging behind without having to pay an ugly penalty?

Thanks!

Share this post


Link to post
Share on other sites

I have nothing substantial to add other than I also added my calls inside conditional disable structures which I never in the end bothered to disable as performance was way in limits. The calls themselves are quite lightweight I think.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.