Boost logo

Boost Users :

Subject: Re: [Boost-users] [Signals] Another performance discussion
From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2009-07-24 13:58:36


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 24 July 2009, Sajjan Kalle wrote:
> I guess the fragmented signals2 version isn't all that interesting
> anymore

Changeset 55143 on the svn trunk:

https://svn.boost.org/trac/boost/changeset/55143/trunk

should improve the fragmented signals2 benchmark time. With the patch, your
benchmark outputs for me:

$ ./a.out
vector variant: 0.13
boost::signal unfragmented variant: 0.51
boost::signal fragmented variant: 2.15
boost::signal2 unfragmented variant: 0.44
boost::signal2 Fragmented variant: 2.62
list unfragmented variant: 0.12
list fragmented variant: 1.01

On repeated runs with the list stuff removed (due to it taking so long), the
boost::signal times show the most variability for whatever reason:

$ ./a.out
vector variant: 0.12
boost::signal unfragmented variant: 1.36
boost::signal fragmented variant: 3.04
boost::signal2 unfragmented variant: 0.45
boost::signal2 Fragmented variant: 2.6
$ ./a.out
vector variant: 0.12
boost::signal unfragmented variant: 0.81
boost::signal fragmented variant: 2.85
boost::signal2 unfragmented variant: 0.44
boost::signal2 Fragmented variant: 2.6

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkpp9k0ACgkQ5vihyNWuA4VfhwCgtoobVkkVJjX8GFf34Pq22la8
CSoAn0CPEyvW2THpkHVX9FAs2OJHfTrD
=KgL7
-----END PGP SIGNATURE-----


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net