Boost logo

Boost Users :

Subject: Re: [Boost-users] Signals2 benchmark
From: Tim Janus (timjanus_at_[hidden])
Date: 2015-02-06 04:21:59


Am 06.02.2015 um 08:49 schrieb Dominique Devienne:
> On Fri, Feb 6, 2015 at 12:15 AM, Joren Heit <jorenheit_at_[hidden]
> <mailto: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
>
>
Great reference!
But comparing thread-safe implementations with implementations that are
not thread-safe seems a bit unfair to me.
A benchmark that uses the dummy_mutex policy [1] of signals2 would be
very interesting.

Greetings
Tim

[1]
http://www.boost.org/doc/libs/1_57_0/doc/html/signals2/rationale.html#idp430226096



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