Re: [eigen] Transform class performance and inconsistencies |

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]

*To*: eigen@xxxxxxxxxxxxxxxxxxx*Subject*: Re: [eigen] Transform class performance and inconsistencies*From*: Christoph Hertzberg <chtz@xxxxxxxxxxxxxxxxxxxxxxxx>*Date*: Mon, 17 Dec 2012 14:27:59 +0100

On 17.12.2012 12:24, Jakob Schwendner wrote:

ok, thanks for confirming this. The other strange case, that you can see in my benchmark is:

$ g++ benchGeometry.cpp -O2 -DNDEBUG -march=native -I .. -lrt -mfpmath=sse && ./a.out vec = trans * vec float Isometry AutoAlign 3 0.0267s float Isometry DontAlign 3 0.0284s float Isometry AutoAlign 4 0.0189s float Isometry DontAlign 4 0.0208s float Projective AutoAlign 4 0.0111s float Projective DontAlign 4 0.0318s double Isometry AutoAlign 3 0.0257s double Isometry DontAlign 3 0.0407s double Isometry AutoAlign 4 0.0196s double Isometry DontAlign 4 0.0206s double Projective AutoAlign 4 0.0186s double Projective DontAlign 4 0.0258s vec = trans.matrix() * vec float Isometry AutoAlign 4 0.0109s float Isometry DontAlign 4 0.0172s double Isometry AutoAlign 4 0.0186s double Isometry DontAlign 4 0.0272s trans = trans1 * trans float Isometry AutoAlign 0.0619s float Isometry DontAlign 0.0765s double Isometry AutoAlign 0.0636s double Isometry DontAlign 0.0955s float Projective AutoAlign 0.0279s float Projective DontAlign 0.1029s double Projective AutoAlign 0.0565s double Projective DontAlign 0.1035s trans = trans1.matrix() * trans.matrix() float Isometry AutoAlign 0.0246s float Isometry DontAlign 0.0998s double Isometry AutoAlign 0.0569s double Isometry DontAlign 0.0941s

mulps %xmm2, %xmm0 addps %xmm1, %xmm0 movaps %xmm0, (%eax) ret $4

Regards, Christoph -- ---------------------------------------------- Dipl.-Inf., Dipl.-Math. Christoph Hertzberg Cartesium 0.049 Universität Bremen Enrique-Schmidt-Straße 5 28359 Bremen Tel: +49 (421) 218-64252 ----------------------------------------------

**Follow-Ups**:**Re: [eigen] Transform class performance and inconsistencies***From:*Jakob Schwendner

**References**:**Re: [eigen] Transform class performance and inconsistencies***From:*Jakob Schwendner

**Re: [eigen] Transform class performance and inconsistencies***From:*Gael Guennebaud

**Re: [eigen] Transform class performance and inconsistencies***From:*Jakob Schwendner

**Messages sorted by:**[ date | thread ]- Prev by Date:
**Re: [eigen] Transform class performance and inconsistencies** - Next by Date:
**Re: [eigen] Sign function** - Previous by thread:
**Re: [eigen] Transform class performance and inconsistencies** - Next by thread:
**Re: [eigen] Transform class performance and inconsistencies**

Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |