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!
Requirements:
- Go 1.23.4 (install instructions)
First, compile the benchmark script:
go build . -o tpuf-benchmark
Then, you can run the script with the default parameters (this'll do a tiny benchmark to verify that the script is working as intended):
./tpuf-benchmark \
-api-key <API_KEY> \
-endpoint <ENDPOINT>
To see a list of all available configuration options, run:
./tpuf-benchmark --help