mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-15 17:32:56 +00:00
## 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.
36 lines
948 B
TOML
36 lines
948 B
TOML
[package]
|
|
name = "pagebench"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
async-trait.workspace = true
|
|
bytes.workspace = true
|
|
camino.workspace = true
|
|
clap.workspace = true
|
|
futures.workspace = true
|
|
hdrhistogram.workspace = true
|
|
humantime.workspace = true
|
|
humantime-serde.workspace = true
|
|
rand.workspace = true
|
|
reqwest.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
tracing.workspace = true
|
|
tokio.workspace = true
|
|
tokio-stream.workspace = true
|
|
tokio-util.workspace = true
|
|
tonic.workspace = true
|
|
url.workspace = true
|
|
|
|
pageserver_api.workspace = true
|
|
pageserver_client.workspace = true
|
|
pageserver_client_grpc.workspace = true
|
|
pageserver_page_api.workspace = true
|
|
utils = { path = "../../libs/utils/" }
|
|
workspace_hack = { version = "0.1", path = "../../workspace_hack" }
|