Frank Mori Hess | 1 Nov 21:27
Favicon

Re: [signals2][review] The review of the signals2 library (formerly thread_safe_signals) begins today, Nov 1st

On Saturday 01 November 2008 15:22, Stjepan Rajko wrote:
> Hello all,
>
> The review for the Signals2 library (formerly known as
> thread_safe_signals) submitted by Frank Mori Hess begins today (Nov

As requested earlier by Vincent, I threw together a little benchmark 
program (attached) comparing the speed of boost.signals with signals2.  It 
produces the following output on a P4 running Linux:

boost::signals2::signal, 1 connections, invoking 1000000 times: 0.20 s

boost::signal, 1 connections, invoking 1000000 times: 0.26 s

boost::signals2::signal, 10 connections, invoking 1000000 times: 0.77 s

boost::signal, 10 connections, invoking 1000000 times: 0.91 s

boost::signal, 1 connections, tracking enabled, invoking 1000000 times: 
0.28 s

boost::signals2::signal, 1 connections, tracking enabled, invoking 1000000 
times: 0.72 s

boost::signal, 10 connections, tracking enabled, invoking 1000000 times: 
0.78 s

boost::signals2::signal, 10 connections, tracking enabled, invoking 1000000 
times: 4.92 s

boost::signals2::signal, connecting 1000000 connections then disconnecting: 
0.87 s

boost::signal, connecting 1000000 connections then disconnecting: 2.13 s
Attachment (signals_benchmark.cpp): text/x-c++src, 3942 bytes
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Gmane