Skip to content

Add benchmark coverage for ExecutorEventHandler to evaluate performance characteristics #6343

@sachin9058

Description

@sachin9058

Describe the issue

Currently, there is no benchmark coverage for ExecutorEventHandler.HandleEntityEvent, which makes it difficult to understand its performance characteristics such as throughput and memory allocation behavior.

Since event handling is a core part of the engine, having a baseline benchmark would help identify bottlenecks and track performance over time.

Why this matters

  • Provides visibility into execution time and allocation patterns
  • Helps detect performance regressions in future changes
  • Useful for evaluating tradeoffs (e.g., concurrency and context handling)

Proposed solution

Add benchmark tests for HandleEntityEvent, including:

  • a sequential benchmark for baseline performance
  • a parallel benchmark to simulate concurrent workloads

Additional context

This is particularly relevant in light of recent discussions around throughput and event processing behavior in the engine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions