ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Why is Groovy's rosmake so slow?

asked 2013-02-07 11:07:48 -0500

Pi Robot gravatar image

updated 2013-02-07 11:08:05 -0500


After upgrading from Fuerte to Groovy (debian packages under Ubuntu 12.04) I have found rosmake runs much slower than it used to. For example, for one of my typical stacks including 7 packages and mostly Python code, rosmake takes 7.9 seconds under Fuerte and 149 seconds (2 min 29 sec) under Groovy. That's 18x slower(!). Is this expected?


edit retag flag offensive close merge delete

3 Answers

Sort by ┬╗ oldest newest most voted

answered 2013-02-07 19:28:31 -0500

I guess groovy's rosmake is so slow because rospack is so slow now. This is also the topic of this Q/A. Would of course be very interesting if any improvements are planned as this affects a lot of people.

edit flag offensive delete link more


Thanks @Stefan Kohlbrecher. I didn't see a ticket on this problem so I logged one here:

Pi Robot gravatar image Pi Robot  ( 2013-02-09 02:36:39 -0500 )edit

A recent patch has greatly improved rosmake performance for my test package under Groovy--from 149 seconds to 22 seconds. Thanks @tfoote and the author of the patch!

Pi Robot gravatar image Pi Robot  ( 2013-02-20 02:45:22 -0500 )edit

answered 2013-03-05 03:05:38 -0500

anonymous user


I confirm the patch mentioned above also worked for us, reduced the compilation time of almost empty packages by a factor of almost 5. For the lazy, here is the list of instructions to install it.

sudo apt-get install python-jsonpickle --yes
cd /usr/share/pyshared/rosdep2/ 
sudo rm 
sudo wget 
rosdep update  
rosmake <package>
edit flag offensive delete link more


On my system the file that rosdep uses is located in /usr/local/lib/python2.7/dist-packages/rosdep2 , instead of the directory specified (ubuntu 12.04, installed from debian package) The patch improved things a bit but is I think still quite slow compared to fuerte or catkin

afourast gravatar image afourast  ( 2013-03-25 07:27:40 -0500 )edit

answered 2013-02-19 04:46:53 -0500

Dave Coleman gravatar image

A fix for this would be to move to the new catkin build system - it is faster than the original rosbuild. I believe rosbuild is slow now because it has been "patched" to work along side catkin, but eventually it will be depreciated - if I understand correctly.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-02-07 11:07:48 -0500

Seen: 670 times

Last updated: Mar 05 '13