turbopuffer/tpuf-benchmark

General purpose benchmarking tool for turbopuffer deployments

46

stars

67

commits

Go

primary language

Sep 4, 2026

updated

turbopuffer.github.io/tpuf-benchmark

README

tpuf-benchmark

A general purpose tool for benchmarking turbopuffer deployments across a wide variety of workloads. Modifications, extensions and new benchmarks are encouraged; we want you to push turbopuffer to it's limits. If you find any issues or performance problems, let us know so we can improve turbopuffer for your specific workload!

Setup

Requirements:

First, compile the tpufbench command:

go build -o tpufbench ./cmd/tpufbench

Then, you can run an example benchmark:

TURBOPUFFER_API_KEY=tpuf_myapikey TURBOPUFFER_REGION=gcp-us-central1 ./tpufbench run \
    --warm-cache \
    ./benchmarks/website/vector-1m.toml

Example Usage

To see a list of all available configuration options, run:

./tpufbench run --help

Reproducing website benchmarks

All benchmarks were run on a c2-standard-30 instance running in GCP us-central1. The files definining the benchmarks and their parameters are in benchmarks/website.

TURBOPUFFER_API_KEY=tpuf_myapikey TURBOPUFFER_REGION=gcp-us-central1 ./tpufbench run \
    --warm-cache \
    ./benchmarks/website/vector-1m.toml

You can customize these template files with additional parameters to benchmark different variants of the workload.

Contributors

morgangallant

25 commits

jbowens

25 commits

nvb

6 commits

utaal

5 commits

turbopuffer/tpuf-benchmark

General purpose benchmarking tool for turbopuffer deployments

46

stars

67

commits

Go

primary language

Sep 4, 2026

updated

turbopuffer.github.io/tpuf-benchmark

README

tpuf-benchmark

A general purpose tool for benchmarking turbopuffer deployments across a wide variety of workloads. Modifications, extensions and new benchmarks are encouraged; we want you to push turbopuffer to it's limits. If you find any issues or performance problems, let us know so we can improve turbopuffer for your specific workload!

Setup

Requirements:

First, compile the tpufbench command:

go build -o tpufbench ./cmd/tpufbench

Then, you can run an example benchmark:

TURBOPUFFER_API_KEY=tpuf_myapikey TURBOPUFFER_REGION=gcp-us-central1 ./tpufbench run \
    --warm-cache \
    ./benchmarks/website/vector-1m.toml

Example Usage

To see a list of all available configuration options, run:

./tpufbench run --help

Reproducing website benchmarks

All benchmarks were run on a c2-standard-30 instance running in GCP us-central1. The files definining the benchmarks and their parameters are in benchmarks/website.

TURBOPUFFER_API_KEY=tpuf_myapikey TURBOPUFFER_REGION=gcp-us-central1 ./tpufbench run \
    --warm-cache \
    ./benchmarks/website/vector-1m.toml

You can customize these template files with additional parameters to benchmark different variants of the workload.

Contributors

morgangallant

25 commits

jbowens

25 commits

nvb

6 commits

utaal

5 commits

Languages

Go

90.9%

Python

5.0%

Shell

3.4%