A tool to visualize build times for packages in a ROS workspace.
- Parses ROS
events.logfiles to extract build times. - Constructs a hierarchical directory structure for visualization.
- Generates a treemap of package build times using Plotly.
📽️ Video: https://youtu.be/wqQcAJ0WNV0
- Clone the repository:
git clone https://github.com/xmfcx/ros-build-time-visualizer.git cd ros-build-time-visualizer - Install the package using
pip:pip install .
Alternatively, you can install directly from the GitHub repository:
pip install git+https://github.com/xmfcx/ros-build-time-visualizer.gitAfter installation, you can use the tool via the command line:
ros-build-time-visualizer /path/to/ros/workspace --output_path build_time_treemap.html --showBy default, it uses the latest events.log file in the log directory of the ROS workspace.
You can specify the path to the events.log file directly:
ros-build-time-visualizer /path/to/ros/workspace --show --log_file=/path/to/ros/workspace/log/build_2024-12-14_00-22-01/events.logIf you are in the ROS workspace directory, you can run the tool with the current directory as the argument:
ros-build-time-visualizer . --output_path log/bla.html --showThe tool generates an interactive treemap (build_time_treemap.html) in the current directory, which can be opened in any web browser.
This project is licensed under the Apache 2.0 License. See the LICENSE file for details.

