Boost logo

Boost :

Subject: Re: [boost] Please Help: Experienced very bad performance with Multi-index
From: Jarolin, Robert (Robert.Jarolin_at_[hidden])
Date: 2009-07-30 12:07:50

Thank you. Removing those seemed to help significantly. I am now having issues with removal up to an upper_bound value.
You mentioned "testing with release settings". How do I enable "release settings"?


-----Original Message-----
From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]] On Behalf Of Joaquin M Lopez Munoz
Sent: Wednesday, July 29, 2009 4:58 PM
To: boost_at_[hidden]
Subject: Re: [boost]Please Help: Experienced very bad performance with Multi-index

Hi Robert,

Jarolin, Robert <Robert.Jarolin <at>> writes:

> Below is a sample program that I am running. If I create a
> multi-index as defined below, the performance as the number of entries
> increases gets to the point of being unusable.
> [...]
> #if !defined(NDEBUG)
> #endif

I strongly suspect this is the problem. Are you doing your performance tests in debug mode? If so, invariant and safe mode (specially the former) have a huge impact on performance.
They shouldn't be used in production, release mode. Try either not using these modes or, better yet, testing with release settings, which in your particular case implies disabling these modes as well. Please report back.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo

Unsubscribe & other changes:

Boost list run by bdawes at, gregod at, cpdaniel at, john at