Compares the performance of oRPC with similar libraries.
Benchmarks are organized into groups. Benchmarks in the same group share the same workload and are directly comparable; benchmarks in different groups are not.
| Group | Benchmarks | What it measures |
|---|---|---|
rpc |
rpc-orpc, rpc-trpc | RPC runtime throughput over HTTP |
ws |
ws-orpc, ws-trpc | RPC runtime throughput over WebSocket |
openapi |
openapi-orpc, openapi-hono | OpenAPI (RESTful) runtime throughput over HTTP |
typecheck |
typecheck-orpc, typecheck-trpc | TypeScript type-checking time on a large, fully typed project |
Each benchmark's README contains its latest result. To run one yourself:
pnpm install
cd benchmarks/<benchmark>
pnpm bench