|
Boost : |
Subject: Re: [boost] Interest in Remote Procedure Call Library?
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2010-02-10 20:00:06
On Wed, Feb 10, 2010 at 4:36 PM, Daniel Larimer <dlarimer_at_[hidden]> wrote:
> I cannot post the code at this time (still pending employer approval in spite of the fact that 100% of the development of this code refractor is unpaid!)
>
> Ok, benchmark running on Mac OS X with g++ -O2
>
> MyClass c;
> MyClass* cp = &c;
>
> stub<MyClass> Â s(cp);
>
> int (MyClass::*a)(int,int) = &MyClass::add;
>
> comparing   (cp->*a)(1,2)   to  s.add(1,2)
>
> On average there is less than .001 us per call difference between the two methods for a trial run of 1024^3 invocations.
>
> Of course the compiler could optimize  c.add(1,2) to the point that it was "unmeasurable".
>
> It is as I would have expected, the entire abstraction layer has almost no run time overhead and so the rest of the performance will be in how fast you can serialize your data and send it out the port.
Any chance of just compiling it into a standalone exe/dll for win32
then so I can test it on the same platform as mine?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk