From c59ff1fce8b97da718ba61ae158f0ecf0faf3f4a Mon Sep 17 00:00:00 2001 From: Konstantin Knizhnik Date: Tue, 22 Apr 2025 20:34:18 +0300 Subject: [PATCH] Mke ruff happy --- test_runner/performance/test_lfc_prefetch.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/test_runner/performance/test_lfc_prefetch.py b/test_runner/performance/test_lfc_prefetch.py index 4d6affaf8d..52a95d04ca 100644 --- a/test_runner/performance/test_lfc_prefetch.py +++ b/test_runner/performance/test_lfc_prefetch.py @@ -126,11 +126,19 @@ def test_lfc_async_prefetch_performance(neon_simple_env: NeonEnv, zenbenchmark): with zenbenchmark.record_duration("do_not_store_store_prefetch_results"): cur.execute("set neon.store_prefetch_result_in_lfc=off") for _ in range(n_iterations): - cur.execute("select sum(balance) from (select balance from account where id between 1000 and 2000 limit 100) s") - cur.execute("select sum(balance) from (select balance from account where id between 6000 and 7000 limit 100) s") + cur.execute( + "select sum(balance) from (select balance from account where id between 1000 and 2000 limit 100) s" + ) + cur.execute( + "select sum(balance) from (select balance from account where id between 6000 and 7000 limit 100) s" + ) with zenbenchmark.record_duration("store_prefetch_results"): cur.execute("set neon.store_prefetch_result_in_lfc=on") for _ in range(n_iterations): - cur.execute("select sum(balance) from (select balance from account where id between 1000 and 2000 limit 100) s") - cur.execute("select sum(balance) from (select balance from account where id between 6000 and 7000 limit 100) s") + cur.execute( + "select sum(balance) from (select balance from account where id between 1000 and 2000 limit 100) s" + ) + cur.execute( + "select sum(balance) from (select balance from account where id between 6000 and 7000 limit 100) s" + )