Skip to content
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

feat(autoware_debug_tools): add system performance plotter #91

Merged
merged 3 commits into from
Aug 7, 2024

Conversation

takayuki5168
Copy link
Contributor

@takayuki5168 takayuki5168 commented Aug 6, 2024

Description

Plot the following metrics from the rosbag

  • processing_time
  • CPU usage
  • Memory usage

Examples are below.

processing_time by planning modules

ros2 run autoware_debug_tools processing_time_plotter <bag-path> -c planning

image

processing_time by planning modules which contain behavior_path

ros2 run autoware_debug_tools processing_time_plotter <bag-path> -c planning -g behavior_path

image

processing_time by top 5 critical modules in all modules with the plot height = 300

ros2 run autoware_debug_tools processing_time_plotter <bag-path> -c all -n 5 -y 300

image

Related links

Tests performed

Notes for reviewers

Interface changes

Effects on system behavior

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.
  • The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

Signed-off-by: Takayuki Murooka <[email protected]>
Signed-off-by: Takayuki Murooka <[email protected]>
@takayuki5168 takayuki5168 merged commit 8c281ae into main Aug 7, 2024
17 checks passed
@takayuki5168 takayuki5168 deleted the feat/system-performance-plotter branch August 7, 2024 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants