mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-16 01:42:55 +00:00
WIP use results
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user