|
Boost : |
From: Stuart Dootson (stuart.dootson_at_[hidden])
Date: 2004-12-01 13:17:37
On Wed, 1 Dec 2004 10:42:50 -0500, Jody Hagins
<jody-boost-011304_at_[hidden]> wrote:
> On Tue, 30 Nov 2004 23:28:48 -0600
> "Aaron W. LaFramboise" <aaronrabiddog51_at_[hidden]> wrote:
>
> > This is very useful information!
>
> I hope it is correct ;-) Can you verify similar performance
> characteristics?
>
Jody - I ran your code on Windows 2000, compiled with VC++ 7.1 and got
similar results :
===== 1000000 Total Calls =====
Num Slots Calls/Slot Boost Lite
--------- ---------- ------- -------
1 1000000 26.0735 0.1077
10 100000 8.0136 0.0359
50 20000 7.0922 0.0296
100 10000 5.4384 0.0334
250 4000 6.0977 0.0295
500 2000 5.4257 0.0291
1000 1000 6.4010 0.0388
5000 200 6.5758 0.1964
10000 100 5.5138 0.2056
50000 20 5.5390 0.2022
100000 10 6.5492 0.2038
500000 2 6.5538 0.2163
The executable was built with the command 'cl -EHsc -O1
speed_test.cpp' (synchronous exception handling on, optimize for
speed) and pulled in static libraries for Boost.Signals, C/C++
runtimes etc.
HTH
Stuart Dootson
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk