Commit Graph

6 Commits

Author SHA1 Message Date
Simon Farnsworth
e58925a771 Make clippy happier with vec initialization in blobstore benchmark
Summary: It says I was doing it the slow way. Do it the fast way

Reviewed By: krallin

Differential Revision: D20926911

fbshipit-source-id: 65790d510d626e70a402c22a2df5d7606427aa7f
2020-04-13 08:37:59 -07:00
Simon Farnsworth
10a1fc24b7 Use the standard caching options to enable caching-assisted blobstore benchmarking
Summary: In production, we'll never look at blobstores on their own. Use the standard cachelib and memcache layers in benchmarks to test with caching.

Reviewed By: krallin

Differential Revision: D20926910

fbshipit-source-id: 030dcf7ced76293eda269a31adc153eb6d51b48a
2020-04-13 08:37:59 -07:00
Simon Farnsworth
d11ae2dcc8 Add read benchmarks to the blobstore benchmark set
Summary: This lets us look at a blobstore's behaviour for repeated single reads, parallel same-blob reads, and parallel reads to multiple blobs.

Reviewed By: krallin

Differential Revision: D20920206

fbshipit-source-id: 24d9a58024318ff3454fbbf44d6f461355191c55
2020-04-13 08:37:59 -07:00
Simon Farnsworth
39f5aacf9e Allow filtering of blobstore benchmarks
Summary: Each benchmark takes about 3 minutes to run. We've already got 16 benchmarks, and we're going to grow. Allow you to limit the number of benchmarks we run at once..

Reviewed By: ahornby

Differential Revision: D20735795

fbshipit-source-id: 241184085b35da8ab85314fef1c6a08404bdb769
2020-04-01 03:13:11 -07:00
Simon Farnsworth
cd77fd6c21 Teach the blobstore benchmark to use saved baselines
Summary: We're going to be doing a variety of changes to sqlblob - let's enable working against a known baseline each time, instead of incremental changes.

Reviewed By: ahornby

Differential Revision: D20735796

fbshipit-source-id: 86f15dac1f004b2f3c83ced829a65f3f6e111d6b
2020-04-01 03:13:11 -07:00
Simon Farnsworth
aa86f24204 Add a blobstore benchmark tool
Summary:
We want to be able to benchmark blobstore stacks to allow us to compare blobstore stacks, and ensure that we're not regressing as we improve SQLblob to production state.

Use Criterion to benchmark a few basic workflows - starting with writes, but reads can be added later.

Reviewed By: ahornby

Differential Revision: D20720789

fbshipit-source-id: e8b10664a9d08a1aa7e646e1ebde251bec0db991
2020-04-01 03:13:10 -07:00