Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w5Qr4-003FIC-0e for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Mar 2026 16:13:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w5Qr2-00F0Zb-1G for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Mar 2026 16:13:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w5Qr2-00F0ZT-0L for pgsql-hackers@lists.postgresql.org; Wed, 25 Mar 2026 16:13:12 +0000 Received: from fhigh-a6-smtp.messagingengine.com ([103.168.172.157]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w5Qr0-00000000zgH-2hhi for pgsql-hackers@postgresql.org; Wed, 25 Mar 2026 16:13:11 +0000 Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfhigh.phl.internal (Postfix) with ESMTP id 6AABC14001D8; Wed, 25 Mar 2026 12:13:09 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-01.internal (MEProxy); Wed, 25 Mar 2026 12:13:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1774455189; x=1774541589; bh=k62iKtpfj6 ySsmqBC5Fo0h6U7G6BRnXTev8BoaS/3hY=; b=OvO/BMo21G5FuF9XuEvjk0rcQ9 BRjzgKeZwUfjpk2OV33PeyWUH8UVSMD2cZBJPPanYo5KiwBEiKEOgA9TvLwy4bzO 7BEBNQxqp4t/EGVTKDFql2YJZUdpoR6Ki0T8Qx/IfaDf5GEGb3kdyK60gy1kYUvR ZOuc9L32x8WcG4ukR9e8/8F1UdU4TwQ1DZ4UAUExKNTfJ/nCC6kN06fUIp/2oF/i fcnl/vwFBDu9SSulTzeLUvaNi6VXZBf8ERDN8/p8hDCqoTht0rE61fHn0htOOelV rv3BLKjlGFQl3KSuEfz4oprGCzhvUm1whqrmQDI0kN1VCsG8WzljeKKZwPUA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1774455189; x=1774541589; bh=k62iKtpfj6ySsmqBC5Fo0h6U7G6BRnXTev8 BoaS/3hY=; b=xlMXR2AFbaWhUKxerr5idgN5QwQQUVK+FHPhr1xV2p3kY5+ZJU5 7+Tw74R9hiNXTVIQ5kkHlPbB21KKjPLW02zLWqjYhq3/mlGk8a63u7ygbQP1GE/Z eM7h4RBOHt8pt90jrcjdDjffdlNx4VqFD8sjdLrR1CZmPhF0ygTOYK90/ps+KZev Dx6R6mG++PMuM2/FdtxB/2jY9qLtUdJzxWkeimkFY/UBnf2qO1tR43Cn8peaygMH b17hvU2iigwjuCDijjFQHPrzB+r1K0ktnzK9bQsroJpXlyHfcWruE9Q0XJordbmX rfjvjvgAsVqGV0CFPDWcL+rHle5nJcbwGBQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdefvdegleduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkfhggtggujgesthdtsfdttddtvdenucfhrhhomheptehnughrvghs ucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrfgrth htvghrnhepfeffgfelvdffgedtveelgfdtgefghfdvkefggeetieevjeekteduleevjefh ueegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hnughrvghssegrnhgrrhgriigvlhdruggvpdhnsggprhgtphhtthhopeeipdhmohguvgep shhmthhpohhuthdprhgtphhtthhopeguihhlihhpsggrlhgruhhtsehgmhgrihhlrdgtoh hmpdhrtghpthhtohepthhhohhmrghsrdhmuhhnrhhosehgmhgrihhlrdgtohhmpdhrtghp thhtohepphhoshhtghhrvghssehjvghlthgvfhdrnhhlpdhrtghpthhtohepnhhorghhse hlvggruggsohgrthdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehp ohhsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopehtohhmrghssehvohhnughrrgdrmh gv X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 25 Mar 2026 12:13:08 -0400 (EDT) Date: Wed, 25 Mar 2026 12:13:08 -0400 From: Andres Freund To: Tomas Vondra Cc: pgsql-hackers@postgresql.org, Dilip Kumar , Jelte Fennema-Nio , Thomas Munro , Noah Misch Subject: Re: Test timings are increasing too fast for cfbot Message-ID: References: <753e7734-95d9-45d3-85d9-a53638b1b3dd@vondra.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <753e7734-95d9-45d3-85d9-a53638b1b3dd@vondra.me> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2026-03-25 15:38:01 +0100, Tomas Vondra wrote: > On 3/25/26 04:15, Andres Freund wrote: > > ... > > > > The slowest test is stats_ext.sql - Not surprising, it does sequential scans > > of tables with ~1000-10000 rows over and over again. I don't see why it has > > to do that with as many rows as it does. > > > > IIRC we needed to use non-trivial amounts of data to ensure building the > right right type of statistics (e.g. no MCV). But I understand it can be > annoyingly expensive, so I'll try to make it cheaper. Great. It might also be worth checking if any of the query conditions can be made cheaper without actually changing what they do test. > > ... > > 2) AssertCheckRanges() (only in the brin test, but there a very large portion > > of the runtime) > > True. It is a very comprehensive validation of the ranges, and it was > very useful - particularly during development. But I'll try to make it > more targeted at the stuff actually changed / called less often. Makes sense. There might also be some changs that make it faster without loosing any coverage. E.g. not using FunctionCall2Coll() - which initializes stuff on every call - but doing InitFunctionCallInfoData() once and then update arguments + FunctionCallInvoke() for each call. > Both changes will require time (so that we don't lose test coverage), > but I assume it's OK if that happens sometime after the feature freeze. Yea. We're not running out of credits tomorrow or something like that. Greetings, Andres Freund