Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

cloudspannerecosystem/spanner-bench

Repository files navigation

spannerbench logo

A Google Cloud Spanner transaction benchmarking framework.

CircleCI

See examples/helloworld for an example.

Usage

$ go run examples/helloworld/main.go
BenchmarkReadOnly
Latency histogram:
 65.772419ms : しかく (1)
 310.325496ms: しかくしかくしかくしかくしかくしかくしかくしかくしかくしかくしかくしかくしかくしかくしかくしかくしかくしかくしかくしかく (37)
 554.878574ms: しかくしかくしかく (6)
 799.431651ms: しかくしかく (3)
 1.043984729s: しかく (1)
 1.288537807s: しかく (2)
Benchmark
Latency histogram:
 101.510159ms: しかく (1)
 355.964311ms: しかくしかくしかくしかくしかくしかくしかくしかくしかくしかくしかくしかくしかくしかくしかくしかくしかくしかくしかくしかく (46)
 610.418464ms: しかく (2)
 864.872616ms:
 1.119326769s:
 1.373780922s: しかく (1)

Notes

  • The framework only reports the client-perceived latency at the moment.
  • The benchmarks are run sequentially, concurrency support is in the roadmap but is not implemented yet.
  • Note timestamp bound support is work in progress.
  • Framework can warm-up the sessions before starting to benchmark. This improvement is in the roadmap.

Disclaimer

This is not an official Google product.

About

Google Cloud Spanner Query Planner Benchmarking

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /