[#1431] engine: Add benchmark for Select vs TreeGetByPath

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-05-24 15:06:29 +03:00 committed by fyrchik
parent f4bc1c601a
commit f5d35571d0
2 changed files with 73 additions and 1 deletions

View file

@ -20,7 +20,7 @@ import (
const errSmallSize = 256
func newEngineWithErrorThreshold(t *testing.T, dir string, errThreshold uint32) (*StorageEngine, string, [2]*shard.ID) {
func newEngineWithErrorThreshold(t testing.TB, dir string, errThreshold uint32) (*StorageEngine, string, [2]*shard.ID) {
if dir == "" {
var err error