rospack became agonizingly slow
Since I upgraded to Groovy, the rospack command has become really slow. This is true even if have no own package tree, just the distribution itself. The rospack profile
call runs fast and shows nothing abnormal, but any query takes over a second.
Any ideas what is wrong?
$ env | grep ROS_
ROS_ROOT=/opt/ros/groovy/share/ros
ROS_PACKAGE_PATH=/opt/ros/groovy/share:/opt/ros/groovy/stacks
ROS_MASTER_URI=http://localhost:11311
ROS_DISTRO=groovy
ROS_ETC_DIR=/opt/ros/groovy/etc/ros
$ rospack profile
Full tree crawl took 0.019685 seconds.
Directories marked with (*) contain no manifest. You may
want to delete these directories.
To get just of list of directories without manifests,
re-run the profile with --zombie-only
-------------------------------------------------------------
0.016709 /opt/ros/groovy/share
0.003634 * /opt/ros/groovy/share/common-lisp
0.003559 * /opt/ros/groovy/share/common-lisp/ros
0.002273 * /opt/ros/groovy/share/doc
0.002248 /opt/ros/groovy/stacks
0.002195 * /opt/ros/groovy/share/doc/pcl-1.6
0.002161 * /opt/ros/groovy/share/doc/pcl-1.6/tutorials
0.002027 * /opt/ros/groovy/share/doc/pcl-1.6/tutorials/sources
0.000377 * /opt/ros/groovy/share/ros
0.000346 /opt/ros/groovy/stacks/navigation
0.000314 * /opt/ros/groovy/share/common-lisp/ros/std_msgs
0.000297 * /opt/ros/groovy/share/common-lisp/ros/sensor_msgs
0.000276 * /opt/ros/groovy/share/common-lisp/ros/dynamic_reconfigure
0.000263 * /opt/ros/groovy/share/ros/core
0.000248 * /opt/ros/groovy/share/OpenCV
0.000244 * /opt/ros/groovy/share/common-lisp/ros/geometry_msgs
0.000232 * /opt/ros/groovy/share/common-lisp/ros/actionlib
0.000218 * /opt/ros/groovy/share/doc/pcl-1.6/tutorials/sources/iros2011
0.000176 /opt/ros/groovy/stacks/geometry_experimental
0.000164 * /opt/ros/groovy/share/common-lisp/ros/rospy_tutorials
$ time rospack depends roscpp
cpp_common
rostime
roscpp_traits
roscpp_serialization
genmsg
genpy
message_runtime
rosconsole
std_msgs
rosgraph_msgs
xmlrpcpp
real 0m1.744s
user 0m1.632s
sys 0m0.092s