Skip to content

Version 2.0.6 is significantly slower #1243

@mjimenezm00

Description

@mjimenezm00

Description
I've been using rosbridge_suite as the bridge between my ROS2 stack and a web UI for several years. Recently, after updating to the lastest humble, I noticed a slowdown in the performance.

I traced the issue to version 2.0.6. It introduces a severe performance regression. However, release 2.0.5 works perfectly fine.

It seems the regression was introduced by commit d858f8d "fix: Reduce idle CPU consumption of websocket server".

Reverting d858f8d on top of 2.0.6 restores the previous behavior.

  • Library Version: 2.0.6
  • ROS Version: ROS 2 Humble
  • Platform / OS: Ubuntu 22.04.5 LTS, Python 3.10.12

Expected Behavior
Same low latency and throughput as in version 2.0.5.

Actual Behavior
Starting from 2.0.6, WebSocket message delivery becomes extremely slow. Reverting commit d858f8d immediately resolves the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions