Skip to content

[Doc] Refresh the benchmark numbers - #144

Merged
theminjunchoi merged 1 commit into
mainfrom
docs/refresh-benchmarks
Nov 4, 2026
Merged

theminjunchoi merged 1 commit into
mainfrom
docs/refresh-benchmarks

Conversation

@theminjunchoi

Copy link
Copy Markdown
Collaborator

What this PR does / why we need it:

Updates the Apple M4 Pro numbers in the README and benchmarks/README.md to pygrpc-native 0.8.0 and grpcio 1.85.1. The "about 1.5x" and "about 5x" claims still hold (1.45x and 5.08x).

benchmarks/README.md also gets results for payload size, server streaming, the token streaming command and a 30-second run. At 1 MiB, grpc sync is faster than every pygrpc-native server, and the doc says so.

The 40-vCPU Linux sentence and the Modal table weren't re-measured. The README sentence now says it was pygrpc-native 0.1.0.

Fixes #143

How it was tested:

Apple M4 Pro (14 cores), macOS 27.0.1, Python 3.12.15, with pygrpc-native 0.8.0 and grpcio 1.85.1 installed from PyPI into a fresh venv. benchmarks/echo.py from main, five runs per case, rotating the order of server kinds each round, on AC power with nothing else running. Tables show medians. pmset -g therm showed no thermal warnings before or after each batch.

Special notes for your reviewers:

The sync servers top out near 3,200 msgs/s in the token streaming case because echo.py gives them a 64-thread pool. That's noted under the table.

If applicable:

  • this PR changes user-facing behavior, and the README is updated
  • this PR contains tests

Re-measured on an Apple M4 Pro with pygrpc-native 0.8.0 and grpcio 1.85.1,
and added payload size, server streaming, token streaming and 30-second
results to the benchmark README.

Signed-off-by: MinJun Choi <mj04300017@gmail.com>
@theminjunchoi
theminjunchoi merged commit 1274fc6 into main Nov 4, 2026
9 checks passed
@theminjunchoi
theminjunchoi deleted the docs/refresh-benchmarks branch November 4, 2026 14:48
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.

Refresh the benchmark numbers

1 participant