From 4d76c2916e29719ac63f454dda2ec5a14fc47ca1 Mon Sep 17 00:00:00 2001 From: Konstantin Knizhnik Date: Sat, 18 Mar 2023 08:52:07 +0200 Subject: [PATCH] Apply black to test_gc_feedback --- test_runner/performance/test_gc_feedback.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/test_runner/performance/test_gc_feedback.py b/test_runner/performance/test_gc_feedback.py index 1651bc1a61..bfd6b08c82 100644 --- a/test_runner/performance/test_gc_feedback.py +++ b/test_runner/performance/test_gc_feedback.py @@ -68,13 +68,9 @@ def test_gc_feedback(neon_env_builder: NeonEnvBuilder, zenbenchmark: NeonBenchma physical_size = client.timeline_detail(tenant_id, timeline_id)["current_physical_size"] log.info(f"Physical storage size {physical_size}") - MB=1024*1024 + MB = 1024 * 1024 + zenbenchmark.record("logical_size", logical_size // MB, "Mb", MetricReport.LOWER_IS_BETTER) + zenbenchmark.record("physical_size", physical_size // MB, "Mb", MetricReport.LOWER_IS_BETTER) zenbenchmark.record( - "logical_size", logical_size//MB, "Mb", MetricReport.LOWER_IS_BETTER - ) - zenbenchmark.record( - "physical_size", physical_size//MB, "Mb", MetricReport.LOWER_IS_BETTER - ) - zenbenchmark.record( - "physical/logical ratio", physical_size/logical_size, "", MetricReport.LOWER_IS_BETTER + "physical/logical ratio", physical_size / logical_size, "", MetricReport.LOWER_IS_BETTER )