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.94.2) (envelope-from ) id 1uwsiV-008LmL-DJ for pgsql-hackers@arkaria.postgresql.org; Fri, 12 Sep 2025 01:36:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uwsiT-00B010-Ks for pgsql-hackers@arkaria.postgresql.org; Fri, 12 Sep 2025 01:36:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uwsiT-00B00s-B1 for pgsql-hackers@lists.postgresql.org; Fri, 12 Sep 2025 01:36:45 +0000 Received: from fout-a6-smtp.messagingengine.com ([103.168.172.149]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uwsiP-000I9F-1s for pgsql-hackers@lists.postgresql.org; Fri, 12 Sep 2025 01:36:45 +0000 Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfout.phl.internal (Postfix) with ESMTP id 06482EC0376; Thu, 11 Sep 2025 21:36:42 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Thu, 11 Sep 2025 21:36:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; 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=1757641002; x=1757727402; bh=1RBlXmE1Ht bFUdvfjgPbGeTkKCbq9+AyLLnVK/X0lKA=; b=HYFqwfaJHLAT6ClBuvRmXoUQp8 AUrDNg9eoh+a7bWyBfNU9dKti8I34DTKELNU50/Ze1qyYV3HWpuZBubH2PROW2Pm yu9z3ITIhTeFjJ8XIAxHVx2i8Nsm3aXhCkE5AOoTOiZhHtQgx1EGE5LqfPopXsZX ZWKXlPTW6kmOgN/0qoj/GrLbl1KLezKVcHTft/YACUvGRJSt+roD881e+gumv175 cBiCYZgTPWKjLlffPlf2Hhu0Ylmlsjk5iUtTCrnZYd03JnQkNl8129OrFsYKwWtL RP4iXZtSwQ5olXGxwEG3kcsY75KBzrcmmnbJFQIjwuPkVJg9UCm0dUWeaGVg== 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= 1757641002; x=1757727402; bh=1RBlXmE1HtbFUdvfjgPbGeTkKCbq9+AyLLn VK/X0lKA=; b=Zr8QBu++DVDpDanomknsUOfV04wOXvSm4CPmUhISjbg0QHh0lb4 kffv3zZi2nefqHwXyX8UESH36O0R/5H5vvSaKTn1XJ/7z/G0AkM5wIsz4YPVhtzN R4AAczjI/kpvCS2xZFLSHLGZedfQQKSb+grqOCovRDUMNGBm9jmGSkLinU99lDpo FlFE9JsSklguzXrpHBxAS1Ic5yGvrVTSmgbJVu9TUqCFZQiquEpektcfhZcYBXwI /7cjM+5na9OCJQmLYnwVIKKF3tPwW75pWClQBj+RJMQubfQeUiAmCz9lSXQvfKD7 Qko562dNoeOL7NHIb9+C9awe7prC7z/7yfw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvjeejgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlh cuvffnffculdefhedmnecujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtvden ucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprghquh hivghrrdighiiiqeenucggtffrrghtthgvrhhnpeegffejvefgveduvdejtddvtdeijeeh udeuledvudeftdfgfeejvdekveekiedvvdenucffohhmrghinhepphhoshhtghhrvghsqh hlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho mhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidpnhgspghrtghpthhtohepgedpmh houggvpehsmhhtphhouhhtpdhrtghpthhtohepghhrvghgsegsuhhrugdrmhgvpdhrtghp thhtohepshgrfigruggrrdhmshhhkhesghhmrghilhdrtghomhdprhgtphhtthhopehnrg hthhgrnhgusghoshhsrghrthesghhmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhl qdhhrggtkhgvrhhssehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 11 Sep 2025 21:36:40 -0400 (EDT) Date: Fri, 12 Sep 2025 10:36:18 +0900 From: Michael Paquier To: Greg Burd Cc: Masahiko Sawada , Nathan Bossart , PostgreSQL Hackers Subject: Re: [PATCH] Add tests for Bitmapset Message-ID: References: <7BD1ABDB-B03A-464A-9BA9-A73B55AD8A1F@getmailspring.com> <02DB5E92-1E94-4617-AC11-836486F63BD5@burd.me> <9E1E0BA4-952C-412A-884A-6E700F26B0CA@burd.me> <0978d5ba-e015-4889-a8b7-7a2891664492@app.fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jEuSsGt3nBYCJ2rw" Content-Disposition: inline In-Reply-To: <0978d5ba-e015-4889-a8b7-7a2891664492@app.fastmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --jEuSsGt3nBYCJ2rw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 11, 2025 at 06:56:07AM -0400, Greg Burd wrote: > Just for reference I started this not to increase coverage, which is a good > goal just not the one I had. I was reviewing the API and considering some > changes based on other work I've done. Now that I see how deeply baked in > this code is I think that's unlikely. Maybe something else distinct for > bitmaps over 64-bit space at some point will be useful. I wrote this code > just to capture the API in test form. How much does this measure in terms of numbers produced by coverage-html (see [1])? The paths taken don't always matter as it can also be important to check combinations of code paths that are taken by other tests when checking after edge cases, but that would give an idea of gain vs extra runtime. Not objecting to your patch, just being curious as I am not seeing any numbers posted on this thread. [1]: https://www.postgresql.org/docs/devel/regress-coverage.html -- Michael --jEuSsGt3nBYCJ2rw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmjDeRIACgkQnvQgOdby QH2f5A//RsZjl/8HZs/hMNT6LwWxv4CMTQ9gErUmEqb6z38kyM03OFratkwobViw SWyqqpbGvkSEWQ3poZUjwpEFf7VV9KEFHde1hxphNywSxaW11OHZa6dYwDYUvCgq JgQsd31ROO9vtLURGFtOregypaJMVIHXWawGdwm0HW70KgCHjPwQfk8SjI8ts/jP JaMCJ1xySiCCdvQbYKmGBTaoFK+5QFQKk6AcwM8hVMbtN5jwfIUDDppfwrohvfwb cxmxhPvwOcTeD02h5A9y1f65docZxBNNKntwQsMHefwaZ9LYI23HdxkXa3XSllHO OqQa/lJUKCAdYeT5hhtID6ihJRcKIuuUunu13d9uDKfYMf1Tyznw97KdDxEKVreW YZ4xh/V+iLQLlVehTOF/24QdbByaQgDkujzr58/OqP9OVyOiDPRWcwEPKAOfW2Ba 1bhxqwAsndQr7eO6B/5AvdbIdAiWoxPgI3HX/XOOKroH5C6aanxjD/62U4ni0G+4 NzRBAEgYBliWbHpJTKhCStVvSvrgtC+1qxxF50WXl5HNF7kS7mbXSo96lr2hVULm pJ/dAPAuFmqQvxxwHIn1fTWaVQlGV6pl3ZVZi/UZDypRnljMnTP3XtZLpdkhpmzy Wpv3bA60tC5gbyPmPnrlrsj20nMaIt6uiHThPoIPc2pIAgY+RFI= =zgnY -----END PGP SIGNATURE----- --jEuSsGt3nBYCJ2rw--