Skip to content

Optimize includes - #191

Open
ahcorde wants to merge 3 commits into
rollingfrom
ahcorde/rolling/granular-includes
Open

Optimize includes#191
ahcorde wants to merge 3 commits into
rollingfrom
ahcorde/rolling/granular-includes

Conversation

@ahcorde

@ahcorde ahcorde commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Replacing the monolithic <rclcpp/rclcpp.hpp> with only the granular rclcpp headers each file actually uses

cut the clean build of both packages from a median of 27.3 s to 25.3 s (~8% faster), with everything compiling cleanly.

Claude Opus 4.7

Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
@ahcorde ahcorde self-assigned this Jul 28, 2026
ahcorde added 2 commits July 28, 2026 14:26
Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
@ahcorde

ahcorde commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator Author

Pulls: #191
Gist: https://gist.githubusercontent.com/ahcorde/9478abc0fb3572253dd31148637cad24/raw/2cc1a755eeef0f1338755188982ce01cb0bb4066/ros2.repos
BUILD args: --packages-above-and-dependencies point_cloud_transport point_cloud_transport_py
TEST args: --packages-above point_cloud_transport point_cloud_transport_py
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/19990

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

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.

1 participant