diff --git a/test_runner/fixtures/neon_fixtures.py b/test_runner/fixtures/neon_fixtures.py index 0097d2872c..761a45db4e 100644 --- a/test_runner/fixtures/neon_fixtures.py +++ b/test_runner/fixtures/neon_fixtures.py @@ -1566,6 +1566,15 @@ class ComputeCtl(AbstractNeonCli): COMMAND = "compute_ctl" +# class GetpageBenchLibpq(AbstractNeonCli): +# """ +# A typed wrapper around the `getpage_bench_libpq` CLI. +# """ +# +# COMMAND = "getpage_bench_libpq" +# +# def run(self): +# pass class NeonAttachmentService: def __init__(self, env: NeonEnv): diff --git a/test_runner/performance/test_pageserver.py b/test_runner/performance/test_pageserver.py index 3531d7a09e..6d9bd32173 100644 --- a/test_runner/performance/test_pageserver.py +++ b/test_runner/performance/test_pageserver.py @@ -1,4 +1,5 @@ +import json from pathlib import Path import shutil import subprocess @@ -104,4 +105,10 @@ def test_getpage_throughput(neon_env_builder: NeonEnvBuilder, zenbenchmark: Neon *[str(tenant) for tenant in tenants], ] basepath = pg_bin.run_capture(cmd) - log.info("Benchmark results: %s", basepath + ".stdout") + results_path = Path(basepath + ".stdout") + log.info(f"Benchmark results at: {results_path}") + + with open(results_path, 'r') as f: + results = json.load(f) + +