Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1apJ0V-0006v7-2R for pgsql-hackers@arkaria.postgresql.org; Sun, 10 Apr 2016 17:18:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1apJ0T-0007BP-Qd for pgsql-hackers@arkaria.postgresql.org; Sun, 10 Apr 2016 17:18:41 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1apIz8-0005hF-Qw for pgsql-hackers@postgresql.org; Sun, 10 Apr 2016 17:17:18 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1apIz6-0003Ht-8L for pgsql-hackers@postgresql.org; Sun, 10 Apr 2016 17:17:17 +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 u3AHHDV6020118; Sun, 10 Apr 2016 13:17:13 -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: <20160410060102.GC1741844@tornado.leadboat.com> References: <12656.1460217008@sss.pgh.pa.us> <20160409234332.GA1747447@tornado.leadboat.com> <28003.1460252943@sss.pgh.pa.us> <5835.1460254081@sss.pgh.pa.us> <20160410060102.GC1741844@tornado.leadboat.com> Comments: In-reply-to Noah Misch message dated "Sun, 10 Apr 2016 02:01:02 -0400" Date: Sun, 10 Apr 2016 13:17:13 -0400 Message-ID: <20117.1460308633@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 Noah Misch writes: > On Sat, Apr 09, 2016 at 10:08:01PM -0400, Tom Lane wrote: >> 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. > If dropping the row count to 1000 shaves >500ms on your primary machine, +1 > for committing such a row count change. This is exactly what I meant by > "someone identifies a way to realize similar coverage with lower duration." > Thanks for contributing this study. Further testing with gcov showed that the max coverage point was reached somewhere between 500 and 750 rows (I didn't bother to pin it down exactly). So I thought setting the table size to 1000 rows was probably shaving things a bit too close; I made it 2000 rows instead. I also added a few more test cases to improve the coverage beyond what it was to start with, using a white-box approach of modifying the test script until gcov said that it was hitting the areas it wasn't before. 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