Boost logo

Boost :

Subject: [boost] boost::signals2 performance
From: Hansi (hansipet_at_[hidden])
Date: 2008-11-25 13:13:33


I have made now a lot of tests with the new signals2 library. The only
thing because I don't want to use it now, is because it is really slow...
I have made now performance tests with the dummy_mutex which is included.
I have found out the about 50% of the time that it takes to call
10000000 is inside in slot_call_iterator---->lock_next_callable
function. Here the follwing lines takes the 50% of the executing time:

             lock_type lock(**iter);
             tracked_ptrs = (*iter)->nolock_grab_tracked_objects();

I hope that one has an idea how it can be made it faster...

Best regards
Hansjörg


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk