pagebench: add support for rich gRPC client (#12477)

## Problem

We need to benchmark the rich gRPC client
`client_grpc::PageserverClient` against the basic, no-frills
`page_api::Client` to determine how much overhead it adds.

Touches #11735.
Requires #12476.

## Summary of changes

Add a `pagebench --rich-client` parameter to use
`client_grpc::PageserverClient`. Also adds a compression parameter to
the client.
This commit is contained in:
Erik Grinaker
2025-07-10 19:30:09 +02:00
committed by GitHub
parent 8630d37f5e
commit dcdfe80bf0
6 changed files with 120 additions and 4 deletions

1
Cargo.lock generated
View File

@@ -4294,6 +4294,7 @@ dependencies = [
"humantime-serde",
"pageserver_api",
"pageserver_client",
"pageserver_client_grpc",
"pageserver_page_api",
"rand 0.8.5",
"reqwest",