Adjust benchmark code to Ids

This commit is contained in:
Kirill Bulatov
2022-09-02 13:20:31 +03:00
committed by Kirill Bulatov
parent 2db20e5587
commit 827c3013bd

View File

@@ -112,10 +112,10 @@ class NeonCompare(PgCompare):
return self._pg_bin
def flush(self):
self.pscur.execute(f"do_gc {self.env.initial_tenant.hex} {self.timeline} 0")
self.pscur.execute(f"do_gc {self.env.initial_tenant} {self.timeline} 0")
def compact(self):
self.pscur.execute(f"compact {self.env.initial_tenant.hex} {self.timeline}")
self.pscur.execute(f"compact {self.env.initial_tenant} {self.timeline}")
def report_peak_memory_use(self) -> None:
self.zenbenchmark.record(