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?