-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Groovy rosmake / rosdep is very slow #218
Comments
The YAML parser seems to be the culprit: http://pyyaml.org/ticket/70 However, even the "fast" loader introduces a noticeable delay to rospack when compared to Fuerte. A better solution would be to get rid of the repeated YAML parsing entirely and store the cache in a pre-parsed format that is optimized for fast loading. Maybe the source list can be serialized using Pickle or marshal? |
The remaining time is mostly os.walk inside catkinpkg Closing and reopening as ros-infrastructure/catkin_pkg#33 |
Sweet. Fuerte: https://gist.github.com/jbohren/4997805 |
OS detection is time-consuming as well: ros-infrastructure/rospkg#28 |
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 (http://ros-by-example.googlecode.com/svn/trunk/rbx_vol_1) which has 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.
A posting on answers.ros.org (http://answers.ros.org/question/53925/rospack-became-agonizingly-slow/#53946) suggests that the problem is with rosdep2.
The text was updated successfully, but these errors were encountered: