On Fri, Jan 22, 2016 at 11:59 AM, Marc Mutz <[email protected]> wrote:
> > I'm not sure about what outcome to expect, and I don't remember any numbers > posted by anyone else, either. > > > >From the David Stone's Writing Robust Code <https://meetingcpp.com/tl_files/2014/talks/robust_code.pdf> page 34: Performance of exceptions when not thrown ● Tested on gcc 4.9.2 ● Numbers relative to ignoring errors ● With no destructors – 12.8% overhead for exceptions – 32.8% overhead for return codes ● With destructors – 6.3% overhead for exceptions – 18.7% overhead for return codes And page 35: Performance of exceptions when thrown ● Tested on gcc 4.9.2 ● Numbers relative to ignoring errors ● With no destructors – 900% overhead for exceptions ● With destructors – 750% overhead Cheers, Cristian.
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
