A Google Cloud Spanner transaction benchmarking framework.
See examples/helloworld for an example.
$ 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)
- 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.
This is not an official Google product.