-
Notifications
You must be signed in to change notification settings - Fork 119
Closed
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Hello!
I was profiling some nodes in my project recently and noticed an issue in case of high incoming messages rate(~2-3K hz). In this case rcl_wait consumes significant amount of CPU. About 30-50% of rcl_wait execution time is rcutils_logging_logger_is_enabled_for:

It looks like most of overhead can be eliminated by removing rcutils_logging_severity_level_from_string and switching to integral log_level as mentioned in comment here and here
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed