Skip to content

colcon_cd is extremely slow (it seems to search the whole harddrive) #29

@peci1

Description

@peci1
peci1@cras-17:~
$ echo $ROS_VERSION 
2
peci1@cras-17:~
$ echo $ROS_DISTRO 
jazzy
peci1@cras-17:~
$ echo $CMAKE_PREFIX_PATH 
/opt/ros/jazzy/opt/gz_sim_vendor:/opt/ros/jazzy/opt/gz_sensors_vendor:/opt/ros/jazzy/opt/gz_physics_vendor:/opt/ros/jazzy/opt/sdformat_vendor:/opt/ros/jazzy/opt/gz_gui_vendor:/opt/ros/jazzy/opt/gz_transport_vendor:/opt/ros/jazzy/opt/gz_rendering_vendor:/opt/ros/jazzy/opt/gz_plugin_vendor:/opt/ros/jazzy/opt/gz_fuel_tools_vendor:/opt/ros/jazzy/opt/gz_msgs_vendor:/opt/ros/jazzy/opt/gz_common_vendor:/opt/ros/jazzy/opt/gz_math_vendor:/opt/ros/jazzy/opt/gz_utils_vendor:/opt/ros/jazzy/opt/gz_tools_vendor:/opt/ros/jazzy/opt/gz_ogre_next_vendor:/opt/ros/jazzy/opt/gz_dartsim_vendor:/opt/ros/jazzy/opt/gz_cmake_vendor:/media/data/robolab/workspace/devel:/media/data/helhest/install/ros2_control_demo_example_17:/media/data/helhest/install/helhest_gz_bringup:/media/data/helhest/install/ros_gz_bridge:/media/data/helhest/install/ros2_control_demo_description:/media/data/helhest/install/ros2_control_cmake:/media/data/helhest/install/helhest_driver_common:/media/data/helhest/install/helhest_description:/media/data/helhest/install/helhest_bringup
peci1@cras-17:~
$ cd /media/data/
peci1@cras-17:/media/data
$ time colcon_cd helhest_description
Saved the directory '/media/data' for future invocations of 'colcon_cd <pkgname>' as well as to return to using 'colcon_cd'. Call 'colcon_cd --reset' to unset the saved path.

real    16m33.106s
user    8m45.522s
sys     7m39.465s
peci1@cras-17:/media/data/helhest/src/helhest-common/helhest_description
$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions