You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[rmw_connext_cpp] Destructing node, specifically a default waitable, is slow (> 3s) for rmw_connext_cpp #1250
I've narrowed this down to the destruction of the rclcpp::Node, a call to destruct a waitable takes the vast majority of this time. I believe this is happening in AllocatorMemoryStrategy, but since it uses shared_ptrs, the actual destruct may be elsewhere.
If I put steady_clock measurements around this line, or even if I iterate through the vector and call reset explicitly, there is one waitable that will consume significant amounts of time to delete. This isn't for all waitables, just one default one that I can't figure out where it's coming from.
This is essentially a duplicate of ros2/rmw_connext#325 . I'm going to close this out as a duplicate of that one, copying in your investigation here so it isn't lost.
Activity
clalancette commentedon Aug 20, 2020
This is essentially a duplicate of ros2/rmw_connext#325 . I'm going to close this out as a duplicate of that one, copying in your investigation here so it isn't lost.