Boost logo

Boost Users :

Subject: Re: [Boost-users] slow exception handling
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2013-12-11 20:09:39

On Wed, Dec 11, 2013 at 4:58 PM, XIN LI <lixinusa2013_at_[hidden]> 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.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at