From e1061879aac8eb979a7292cb3a46c02d7f2e07ca Mon Sep 17 00:00:00 2001 From: bojanserafimov Date: Wed, 19 Jul 2023 23:46:16 -0400 Subject: [PATCH] Improve startup python test (#4757) --- test_runner/performance/test_startup.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/test_runner/performance/test_startup.py b/test_runner/performance/test_startup.py index d897df1bcb..875be3b7b0 100644 --- a/test_runner/performance/test_startup.py +++ b/test_runner/performance/test_startup.py @@ -43,7 +43,17 @@ def test_startup_simple(neon_env_builder: NeonEnvBuilder, zenbenchmark: NeonBenc if endpoint: endpoint.start() else: - endpoint = env.endpoints.create_start("test_startup") + endpoint = env.endpoints.create_start( + "test_startup", + # Shared buffers need to be allocated during startup, so they + # impact startup time. This is the default value we use for + # 1CPU pods (maybe different for VMs). + # + # TODO extensions also contribute to shared memory allocation, + # and this test doesn't include all default extensions we + # load. + config_lines=["shared_buffers=262144"], + ) endpoint.safe_psql("select 1;") # Get metrics