Skip to content

Document order of growth of ECM methods #3363

@arjo129

Description

@arjo129

Desired behavior

The EntityComponentManager (ECM) is the backbone of state management in Gazebo Sim. While the API is well-defined, the computational complexity (order of growth) of its core methods is not explicitly documented in the header files.

As simulations scale in complexity and entity count, developers need to understand the performance trade-offs of different ECM operations to ensure efficient system design.

An example of a performance bug found by @luca-della-vedova in #3362 shows that without such documentation, it is easy to introduce performance issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions