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

Break apart ros_subscriber test translation unit #212

Merged
merged 6 commits into from
Jan 28, 2022
Merged

Conversation

mjcarroll
Copy link
Collaborator

Another attempt at reducing compilation memory usage.

Previously, building ros_subscriber.cpp used about 1.1 GB of RAM according to templight.

After splitting the individual TUs use:

image

Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

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

LGTM, I think we can get rid of some includes too for extra optimization

Base automatically changed from rolling_updates to ros2 January 28, 2022 18:56
Signed-off-by: Michael Carroll <michael@openrobotics.org>
@mjcarroll mjcarroll merged commit 0d878e8 into ros2 Jan 28, 2022
@mjcarroll mjcarroll deleted the tu_testing branch January 28, 2022 20:14
Core development automation moved this from In review to Done Jan 28, 2022
mjcarroll added a commit that referenced this pull request Feb 7, 2022
Signed-off-by: Michael Carroll <michael@openrobotics.org>
mjcarroll added a commit that referenced this pull request Feb 7, 2022
* Improve modularity of ign/ros publisher tests (#194)
* Break apart ros_subscriber test translation unit (#212)
* Fix deprecated parameter declaration

Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Co-authored-by: Louise Poubel <louise@openrobotics.org>
@j-rivero j-rivero removed this from Done in Core development May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants