Add BenchmarkChunkQueryableFromTar#1473
Conversation
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
|
Can you factor out the common code? |
|
Done |
|
What is the reason the remaining code is different between the benchmark and the test? |
|
Yes, I was not sure if I should alter those limits (samples and timeout) for Also, I would need calling |
|
If you can explain why the limits need to be different, please put that in a comment. I don't usually put |
|
Made the limits same, and removed |
|
so more of the code can be shared now? |
|
|
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
|
And done! |
|
👍 LGTM |
BenchmarkChunkQueryableFromTaris same asTestChunkTarinpkg/querier/chunk_tar_test.go. This benchmark would come handy in investigating a query offline.