Boost logo

Boost Users :

Subject: Re: [Boost-users] Signals2 benchmark
From: Joren Heit (jorenheit_at_[hidden])
Date: 2015-02-06 03:15:55


Ah, that's a nice one. I wonder why I haven't come across that benchmark
myself.

I haven't yet made it thread safe, but I have been wondering about this.
Does it have to implement the slot-calls (which can itself be
thread-unsafe) in a safe manner to be considered thread-safe? Or does it
only have to be safe with respect to its own data?

Cheers,
Joren
On Feb 6, 2015 8:49 AM, "Dominique Devienne" <ddevienne_at_[hidden]> wrote:

> On Fri, Feb 6, 2015 at 12:15 AM, Joren Heit <jorenheit_at_[hidden]> wrote:
>
>> I have been working on [...] a template-based Signal/Slot library [...],I
>> want to test it against boost::signals2 to get an idea of how well it
>> performs.
>>
> [...]. Initial tests show that my own library can be up to 10 times faster
>> than the boost-implementation, [...]
>>
>
> This benchmark [1] might be of interest. --DD
>
> PS: In particular, note how the one asterisk'd with "Library aims to be
> thread safe" are at the bottom.
>
>
> https://github.com/NoAvailableAlias/nano-signal-slot/tree/master/benchmark#performance
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



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