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(goal_planner): reduce unnecessary recursive lock guard #8465

Merged
merged 2 commits into from
Aug 16, 2024

Conversation

kosuke55
Copy link
Contributor

Description

Reduced computational cost just a little bit. Reduced unnecessary recursive locks.

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 Aug 14, 2024
Copy link

github-actions bot commented Aug 14, 2024

Thank you for contributing to the Autoware project!

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

Please ensure:

@kosuke55 kosuke55 added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Aug 14, 2024
Copy link

codecov bot commented Aug 14, 2024

Codecov Report

Attention: Patch coverage is 0% with 13 lines in your changes missing coverage. Please review.

Project coverage is 23.85%. Comparing base (a612530) to head (2589c66).
Report is 5 commits behind head on main.

Files Patch % Lines
...r_path_goal_planner_module/goal_planner_module.hpp 0.00% 13 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8465      +/-   ##
==========================================
- Coverage   23.89%   23.85%   -0.05%     
==========================================
  Files        1381     1384       +3     
  Lines      101868   101925      +57     
  Branches    38799    38798       -1     
==========================================
- Hits        24344    24314      -30     
- Misses      75095    75180      +85     
- Partials     2429     2431       +2     
Flag Coverage Δ *Carryforward flag
differential 0.00% <0.00%> (?)
total 23.87% <ø> (-0.03%) ⬇️ Carriedforward from a612530

*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.

Copy link
Contributor

@soblin soblin left a comment

Choose a reason for hiding this comment

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

Can you declare set_xxx_no_lock as private ?

@kosuke55
Copy link
Contributor Author

kosuke55 commented Aug 15, 2024

Can you declare set_xxx_no_lock as private ?

fixed in 304915f

@kosuke55 kosuke55 enabled auto-merge (squash) August 15, 2024 04:06
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
@kosuke55 kosuke55 merged commit be16b07 into autowarefoundation:main Aug 16, 2024
29 of 30 checks passed
@kosuke55 kosuke55 deleted the perf/goal_planner_lock branch August 16, 2024 04:24
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) tag: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