robotology-legacy / mex-wholebodymodel

Matlab MEX interface to the iWholeBodyModel interface.
11 stars 9 forks source link

[MacOS] timeTest.m seem are slower compiling with make VS Xcode #16

Closed iron76 closed 3 years ago

iron76 commented 9 years ago

When launching timeTest.m, results seems to be slower that what they were in the past. At present results on macOs everything compiled using make (default compile options) are:

Starting optimised mode trial 
-------------------------- 
mexWholeBodyModel started with robot : icub, Num of Joints : 25 
Robot name icub and World Reference Frame set about l_sole 
Initialisation time : 9.065052e-02 secs 
 Starting Trial...
 Optimised-Mode Trial Total Time : 11.998686 secs
Optimised-Mode Trial Average Time : 1.199869e-03 secs 

When compiling with Xcode, again with default options:

Starting optimised mode trial 
-------------------------- 
mexWholeBodyModel started with robot : icub, Num of Joints : 25 
Robot name icub and World Reference Frame set about l_sole 
Initialisation time : 8.941473e-02 secs 
 Starting Trial...
 Optimised-Mode Trial Total Time : 2.509663 secs
Optimised-Mode Trial Average Time : 2.509663e-04 secs 
naveenoid commented 8 years ago

Can this be checked by a mac user? @iron76 @francesco-romano @traversaro

traversaro commented 8 years ago

My iMac machine at IIT is available for testing, it has a working Matlab R2012b installation and you should be able to reproduce this issue (if it is still present). I can send credentials by private mail.

traversaro commented 3 years ago

We never investigated more in depth this issue.