Skip to content

Move get_log_directory to improve compilation time - #3214

Open
ahcorde wants to merge 1 commit into
rollingfrom
ahcorde/rolling/move_get_log_directory
Open

Move get_log_directory to improve compilation time#3214
ahcorde wants to merge 1 commit into
rollingfrom
ahcorde/rolling/move_get_log_directory

Conversation

@ahcorde

@ahcorde ahcorde commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Description

Move get_log_directory to another cpp file, then we can avoid to include <filesystem> with the rlcpp/logger.cpp. I can't see where this function is used in the core packages.

reduce almost 25 seconds

Did you use Generative AI?

Claude Opus 4.7

Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
@ahcorde
ahcorde requested a review from asymingt July 30, 2026 07:29
@ahcorde ahcorde self-assigned this Jul 30, 2026
@mergify

mergify Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@ahcorde

ahcorde commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

Pulls: #3214
Gist: https://gist.githubusercontent.com/ahcorde/c182e979c944f985c2847a9ce056312f/raw/e3aca82b3a522235ffc4d11401e7258202ab1289/ros2.repos
BUILD args: --packages-above-and-dependencies rclcpp
TEST args: --packages-above rclcpp
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/20017

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

2 participants