Skip to main content

Benchmarking & PD ratio planning tool for xPyD proxy

Project description

xPyD-bench

Benchmarking & PD ratio planning tool for LLM inference endpoints.

xPyD-bench measures the performance of OpenAI-compatible LLM serving endpoints with detailed latency, throughput, and quality metrics. Built as a superset of vLLM bench with full CLI compatibility.

Key Features

  • vLLM bench compatible CLI — drop-in replacement, same arguments
  • Rich metrics — TTFT, TPOT, ITL, P50/P90/P95/P99, throughput
  • Flexible load patterns — constant, burst, ramp, poisson, custom
  • Multiple datasets — JSONL, CSV, JSON, synthetic generation
  • Advanced analysis — comparison, regression detection, SLA validation, cost estimation
  • Reports — JSON, CSV, Markdown, HTML dashboard, JUnit XML, Prometheus

Install

pip install xpyd-bench

Or as part of the full xPyD toolkit:

pip install xpyd

Quick Start

# Benchmark a running endpoint
xpyd-bench --base-url http://localhost:8080 \
           --model my-model \
           --dataset-name random \
           --num-prompts 100

# Compare two runs
xpyd-bench compare baseline.json candidate.json

Part of xPyD

xPyD-bench is part of the xPyD ecosystem for PD-disaggregated LLM serving:

Component Description
xpyd-proxy Prefill-Decode disaggregated proxy
xpyd-sim OpenAI-compatible inference simulator
xpyd-bench Benchmarking & planning tool

📖 Full Guide → | 💡 Examples → | 🏗️ Contributing →

License

Apache 2.0 — see LICENSE

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xpyd_bench-0.3.0.tar.gz (316.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xpyd_bench-0.3.0-py3-none-any.whl (405.1 kB view details)

Uploaded Python 3

File details

Details for the file xpyd_bench-0.3.0.tar.gz.

File metadata

  • Download URL: xpyd_bench-0.3.0.tar.gz
  • Upload date:
  • Size: 316.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for xpyd_bench-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1c578ce39939c149c6a35352d62d81b8aa32cc334b9be777605ed6ff541b2c66
MD5 5f6ab2dda9431f0c7ed1c850934c9c4f
BLAKE2b-256 278100b28ce7404e12bb5a4566e368b4ea8e81429d0c814c1c2214f4c78888fb

See more details on using hashes here.

File details

Details for the file xpyd_bench-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: xpyd_bench-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 405.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for xpyd_bench-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5cca05fd8d56ad4e1a7bb5a5f5923fc2c491a7abd8593d486e45de791bbc07e0
MD5 f245d7cdeca6c4edca5cd32acf94a91e
BLAKE2b-256 32a787eeb672fb34363abb549bd3f1455fee58e152cf00b3de43ed939a3fc3ad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page