Skip to content

Conversation

@guitarrapc
Copy link
Contributor

Summary

This PR includes two benchmark improvements.

  1. Added broadcast scenarios for 60 FPS, 30 FPS, and 15 FPS. These scenarios validate how MagicOnion handles broadcasting when many clients are connected.
  2. Added per-scenario server metrics. We can now identify server CPU and memory consumption by scenario.

It also includes several fixes, including one where memory metrics did not change during benchmarks due to a refresh/cache issue.

…rics

Refactors the performance testing framework to collect and report
hardware performance metrics, including CPU and memory usage, to
Datadog.

Introduces a `ProfileService` to periodically gather hardware metrics
and send them to Datadog. Also aggregates hardware metrics across
multiple runs for more comprehensive reporting. This change provides
better insights into the resource consumption of the benchmarked
applications.
@guitarrapc guitarrapc requested a review from mayuki as a code owner February 4, 2026 11:03
@mayuki mayuki merged commit 6ac668b into main Feb 9, 2026
6 checks passed
@mayuki mayuki deleted the chore/benchmark_broad branch February 9, 2026 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants