mplynch Posted November 8, 2016 Report Share Posted November 8, 2016 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! Quote Link to comment
Neil Pate Posted November 8, 2016 Report Share Posted November 8, 2016 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. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.