Daemon slows down CLI on Windows

Open
#637 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
cli, performance

Research direction

Start with the reported Windows 10 reproduction using ros2 run action_tutorials_cpp fibonacci_action_server and ros2 action info /fibonacci_action_server. Compare timings with the daemon stopped and running via ros2 daemon stop; trace the CLI and daemon path involved in the query. Done means both modes take comparable time.

Written by the indexing model from the issue text.

Description

bug help wanted

Bug report

Required Info:

  • Operating System:
    • Windows 10
  • Installation type:
    • From source
  • Version or commit hash:
  • DDS implementation:
    • All
  • Client library (if applicable):
    • rclpy
Steps to reproduce issue

On a Windows box, do the following with and without a daemon node running:

  • Start an action server
    ros2 run action_tutorials_cpp fibonacci_action_server
    
  • Ensure daemon is not running
    ros2 daemon stop
    
  • Query action server info
    ros2 action info /fibonacci_action_server
    
Expected behavior

Querying with and without a daemon running takes a comparable amount of time.

Actual behavior

Querying with a daemon running takes a way longer.

Dominant language
Python
Stars
274
Forks
246
Avg merge
1d 14h
Merged PRs (30d)
12

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ros2/ros2cli

All issues in ros2/ros2cli

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.