From bdddb8b353e0639dd8b1c7916e38e24902724c7a Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Sun, 16 Jun 2024 13:03:37 +0200 Subject: [PATCH] wip --- scripts/ci/e2e_benchmark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci/e2e_benchmark.py b/scripts/ci/e2e_benchmark.py index ce4d05c63..bd6ab8ab1 100644 --- a/scripts/ci/e2e_benchmark.py +++ b/scripts/ci/e2e_benchmark.py @@ -68,7 +68,7 @@ class BenchmarkRunner: end_coord = f"{end[1]:.6f},{end[0]:.6f}" return f"{host}/route/v1/driving/{start_coord};{end_coord}?overview=full&steps=true" elif benchmark_name == 'table': - num_coords = random.randint(3, 100) + num_coords = random.randint(3, 50) selected_coords = random.sample(self.coordinates, num_coords) coords_str = ";".join([f"{coord[1]:.6f},{coord[0]:.6f}" for coord in selected_coords]) return f"{host}/table/v1/driving/{coords_str}"