Re: [ANN] luabind 0.9-rc1
liam mail <[email protected]>
| Newsgroups | gmane.comp.lang.lua.bind.user |
|---|---|
| Message-ID | <[email protected]> |
2009/12/10 Daniel Wallin <[email protected]> > liam mail wrote: > > Daniel would you mind sharing your speed tests which you have previously > > claimed were on par with Swig as I am not seeing the speeds you are > talking > > about. > > I will, but my benchmark suite currently isn't usable outside my > development environment. I will try to make time to fix it up, and when > I have I will publish the code. > > Thanks that would be good. > > In this releases notes you say "Major optimizations. For example, calling > > member functions should be close to twice as fast." > > Luabind 9.0rc1 tests http://pastebin.com/f72880a97 > > Luabind 8.1 tests http://code.google.com/p/oolua/wiki/Speed_comparisons > > > > Now I know Luabind can do more than OOLua and I would like to have > results > > which are fair, so if there is anything which you think I should be doing > in > > the tests or more defines to speed it up please do inform me. > > Which compiler are you using for this? I just tried you benchmark, after > some fiddling to make it build, and while my results match yours for > 0.8.1, for 0.9 they are completely different: > > Fiddling? I have built this using gcc on many flavours of linux, yet I would be very grateful if you could inform me of any changes you had to make. > > OOLua access (average elapsed time): 0.698 > > OOLua passing derived to a function that wants a base (average elapsed > time): 0.719 > > OOLua passing derived with multiple bases to a function that wants a base > (average elapsed time): 0.747 > > OOLua virtual function (average elapsed time): 0.338 > > OOLua pure virtual function (average elapsed time): 0.341 > > OOLua - Lua function which takes a base and calls a virtual function > (average elapsed time): 0.309 > > Swig access (average elapsed time): 1.582 > > Swig passing derived to a function that wants a base (average elapsed > time): 0.797 > > Swig passing derived with multiple bases to a function that wants a base > (average elapsed time): 0.835 > > Swig virtual function (average elapsed time): 0.747 > > Swig pure virtual function (average elapsed time): 0.755 > > Swig - Lua function which takes a base and calls a virtual function > (average elapsed time): 0.74 > > Luabind access (average elapsed time): 1.089 > > Luabind passing derived to a function that wants a base (average elapsed > time): 0.659 > > Luabind passing derived with multiple bases to a function that wants a > base (average elapsed time): 0.673 > > Luabind virtual function (average elapsed time): 0.515 > > Luabind pure virtual function (average elapsed time): 0.517 > > Luabind - Lua function which takes a base and calls a virtual function > (average elapsed time): 0.502 > > This is with: > > gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) > > -- > Yes that is vastly different, I will the check the new rc which a couple of OS's I have here. The results I posted where from Visual Studio 9 sp1. Liam ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ luabind-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luabind-user