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

perf(motion_velocity_smoother): remove some heavy debug logging #8798

Merged

Conversation

maxime-clem
Copy link
Contributor

@maxime-clem maxime-clem commented Sep 6, 2024

Description

Some debug logging of the analytical_jerk_constrained_smoother can take a lot of time (I observed up to 20ms when running locally), even when debug logging is disabled.
I have not found a nice solution so this PR simply removes the logging code.

Related links

Parent Issue:

  • Link

How was this PR tested?

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Sep 6, 2024
Copy link

github-actions bot commented Sep 6, 2024

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@maxime-clem maxime-clem changed the title comment out some heavy logging in the velocity smoother perf(motion_velocity_smoother): comment out some heavy debug logging Sep 13, 2024
@maxime-clem maxime-clem added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Sep 13, 2024
@maxime-clem maxime-clem marked this pull request as ready for review September 13, 2024 02:43
Copy link

codecov bot commented Sep 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 25.41%. Comparing base (301e36b) to head (78d6669).
Report is 93 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8798      +/-   ##
==========================================
+ Coverage   25.02%   25.41%   +0.39%     
==========================================
  Files        1322     1329       +7     
  Lines       98047    98374     +327     
  Branches    37795    37821      +26     
==========================================
+ Hits        24536    25003     +467     
- Misses      71020    71356     +336     
+ Partials     2491     2015     -476     
Flag Coverage Δ *Carryforward flag
differential 24.55% <ø> (?)
total 25.03% <ø> (+0.01%) ⬆️ Carriedforward from 301e36b

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
@maxime-clem maxime-clem force-pushed the perf/velocity_smoother branch from 99ffcf4 to 78d6669 Compare September 13, 2024 04:20
@maxime-clem maxime-clem changed the title perf(motion_velocity_smoother): comment out some heavy debug logging perf(motion_velocity_smoother): remove some heavy debug logging Sep 13, 2024
Copy link
Contributor

@satoshi-ota satoshi-ota left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@maxime-clem maxime-clem merged commit 16a2598 into autowarefoundation:main Sep 13, 2024
35 of 36 checks passed
@maxime-clem maxime-clem deleted the perf/velocity_smoother branch September 13, 2024 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:planning Route planning, decision-making, and navigation. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants