commit | 2ad62a3c5f8951b2dced7f5f3c4cc5328e496f26 | [log] [tgz] |
---|---|---|
author | Sergey Rogulenko <rogulenko@google.com> | Wed May 13 13:22:55 2015 -0700 |
committer | Sergey Rogulenko <rogulenko@google.com> | Wed May 13 13:22:57 2015 -0700 |
tree | 911ab758c50365b69eca0234305682a0005bc30a | |
parent | 813f5e681acdc57aec170662ea3c9bd5196e1702 [diff] |
store: add benchmarks Benchmarks that measure read/write operations timing. Can be run by command: 'v23 go test v.io/syncbase/x/ref/services/syncbase/store/... -bench .' As a point of reference results on my HP Z420: BenchmarkWriteSeq-10 200000 8809 ns/op BenchmarkWriteRandom-10 200000 9406 ns/op BenchmarkOverwrite-10 200000 9175 ns/op BenchmarkReadSequential-10 2000000 627 ns/op BenchmarkReadRandom-10 1000000 7805 ns/op Change-Id: I2d4cab814d71f46f7baa92d8be2d3ec224f792c8