The exceptions happens thousands of times within those 5 minutes. I just wondering why boost exception code can impact normal c++ exception performance?



On Wed, Dec 11, 2013 at 5:09 PM, Emil Dotchevski <emildotchevski@gmail.com> wrote:
On Wed, Dec 11, 2013 at 4:58 PM, XIN LI <lixinusa2013@gmail.com> wrote:
> In my code, I add some protection to catch the exception from boost like "catch (boost::archive::archive_exception& ex)", strangely, it slow exception handling,  causing one of our tests to go from around 30 seconds to greater than 5 minutes.

How many exceptions do you throw and catch within those 5 minutes?
Throwing exceptions isn't exactly fast.

--
Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users