Skip to content

xmfcx/ros-build-time-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ROS Build Time Visualizer

A tool to visualize build times for packages in a ROS workspace.

Features

  • Parses ROS events.log files 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

Build Time Treemap

Build Time Treemap

Installation

From Source

  1. Clone the repository:
    git clone https://github.com/xmfcx/ros-build-time-visualizer.git
    cd ros-build-time-visualizer
  2. Install the package using pip:
    pip install .

Using pip from GitHub

Alternatively, you can install directly from the GitHub repository:

pip install git+https://github.com/xmfcx/ros-build-time-visualizer.git

Usage

After installation, you can use the tool via the command line:

ros-build-time-visualizer /path/to/ros/workspace --output_path build_time_treemap.html --show

By 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.log

If 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 --show

Output

The tool generates an interactive treemap (build_time_treemap.html) in the current directory, which can be opened in any web browser.

License

This project is licensed under the Apache 2.0 License. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages