Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Debug Performance Penalty  RSS feed

 
Bob Jacoby
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's the runtime performance penalty incurred for using class files that were compiled with debug information (specifically line numbers)? I know the class files will be larger but I don't care about file size.
Basically I want to have extremely useful stack traces with line numbers in production. I just don't want to kill performance in the process. Hopefully it's not too bad.
Thanks,
Bob
 
Jon Strayer
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The best thing for you to do is test it both ways with your application and see what the difference is.
I doubt there is any, but I didn't run any tests.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!