-
Notifications
You must be signed in to change notification settings - Fork 682
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
Accelerate the build process of autoware.universe (mostly behavior_planning packages) #4821
Closed
3 tasks done
Comments
This was referenced Aug 31, 2023
This was referenced Sep 9, 2023
Merged
Merged
Merged
Merged
Merged
Merged
Merged
Merged
This was referenced Sep 19, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Checklist
Description
Previously I found out that some packages are maybe consuming about 1/3 of its build time just for
preprocessing
due to huge header files.You can check how to measure the compile time of a single header file on the above thread. This table is the example:
To solve this issue a applied several refactorings that aims to
tier4_autoware_utils.hpp
andmotion_utils.hpp
tier4_autoware_utils.hpp
andmotion_utils.hpp
motion_utils.hpp
asextern template
lanelet2_core/lanelet2_routing/lanelet2_extension/Forward.hpp
as much as possibleon this branch(https://github.com/soblin/autoware.universe/tree/build-fast/individual/behavior_velocity_planner_common) and measured how much the build time /maximum momory usage decreases.
I compiled all the files in
behavior_velocity_planner_speed_bump_module
in parallel and measured the process withtime -v
command.Without the refactoring,
After the refactorings,
You can see the build time / maximum memory usage is reduced by about 50%.
Purpose
x
Possible approaches
This task is ready once
are approved. Then I will ship each PR in several steps:
Definition of done
x
The text was updated successfully, but these errors were encountered: