Skip to content

Conversation

pablorfb-meta
Copy link
Contributor

Summary:
Measures how long it takes to cast and reply to 1Kb to N hosts with 8 actors via local transport
100ms of processing time (included in benchmark below) was added to the tested endpoint

Benchmark Name Median Latency (ms) Median Latency Rust (ms) Difference (%) (Python vs Rust)
actor_count_1_median_ms 108 101.55 6.35%
actor_count_10_median_ms 112 101.78 10.04%
actor_count_100_median_ms 145 102.98 40.81%
  • Crashes on 1k "host" set up

Differential Revision: D79769681

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Aug 8, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79769681

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79769681

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79769681

pablorfb-meta added a commit to pablorfb-meta/monarch that referenced this pull request Aug 20, 2025
Summary:

Measures how long it takes to cast and reply a 1Kb msg to N hosts with 8 actors via local transport
100ms of processing time (included in benchmark below) was added to the tested endpoint

| Benchmark Name           | Python p50 Latency (ms) | Rust p50 Latency  (ms) | % Diff |  % Diff w/o proc time|
|-------------------------|-------------------------------|-------------------------|---------------------------------|-----------------------|
| actor_count_1_median_ms  | 102                           | 101                  | .01%                           | 516%                  |
| actor_count_10_median_ms | 108                           | 101                 | .69%                          | 674%                  |
| actor_count_100_median_ms| 145                           | 102                 | 40.81%                          | 1510%                 |

* Crashes on 1k "host" set up

Reviewed By: pzhan9

Differential Revision: D79769681
Summary:

Measures how long it takes to cast and reply a 1Kb msg to N hosts with 8 actors via local transport
100ms of processing time (included in benchmark below) was added to the tested endpoint

| Benchmark Name           | Python p50 Latency (ms) | Rust p50 Latency  (ms) | % Diff |  % Diff w/o proc time|
|-------------------------|-------------------------------|-------------------------|---------------------------------|-----------------------|
| actor_count_1_median_ms  | 102                           | 101                  | .01%                           | 516%                  |
| actor_count_10_median_ms | 108                           | 101                 | .69%                          | 674%                  |
| actor_count_100_median_ms| 145                           | 102                 | 40.81%                          | 1510%                 |

* Crashes on 1k "host" set up

Reviewed By: pzhan9

Differential Revision: D79769681
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D79769681

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in a9cd5a2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants