Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ap4oe-0008Ge-7n for pgsql-hackers@arkaria.postgresql.org; Sun, 10 Apr 2016 02:09:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ap4od-0002cU-II for pgsql-hackers@arkaria.postgresql.org; Sun, 10 Apr 2016 02:09:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ap4nK-00019S-AC for pgsql-hackers@postgresql.org; Sun, 10 Apr 2016 02:08:10 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ap4nD-0003OB-5k for pgsql-hackers@postgresql.org; Sun, 10 Apr 2016 02:08:09 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u3A281o2005836; Sat, 9 Apr 2016 22:08:01 -0400 From: Tom Lane To: Noah Misch cc: Teodor Sigaev , pgsql-hackers@postgresql.org Subject: Re: [COMMITTERS] pgsql: Bloom index contrib module In-reply-to: <28003.1460252943@sss.pgh.pa.us> References: <12656.1460217008@sss.pgh.pa.us> <20160409234332.GA1747447@tornado.leadboat.com> <28003.1460252943@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Sat, 09 Apr 2016 21:49:03 -0400" Date: Sat, 09 Apr 2016 22:08:01 -0400 Message-ID: <5835.1460254081@sss.pgh.pa.us> X-Pg-Spam-Score: -2.9 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org I wrote: > I was depressed, though not entirely surprised, to find that you get > exactly that same line-count coverage if the table size is cut back > to ONE row. Oh, I found the flaw in my testing: there are two INSERTs in the test script and I was changing only one of them. After correcting that, the results behave a little more sanely: Line Coverage Functions 1 row: 70.4 % 349 / 496 93.1 % 27 / 29 10 row: 73.6 % 365 / 496 93.1 % 27 / 29 100 rows: 73.6 % 365 / 496 93.1 % 27 / 29 1000 rows: 75.4 % 374 / 496 93.1 % 27 / 29 Still, we've reached the most coverage this test can give us at 1000 rows, which still means it's wasting the last 99% of its runtime. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers