pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Noah Misch <noah@leadboat.com>
Cc: Teodor Sigaev <teodor@sigaev.ru>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [COMMITTERS] pgsql: Bloom index contrib module
Date: Sat, 09 Apr 2016 22:08:01 -0400
Message-ID: <5835.1460254081@sss.pgh.pa.us> (raw)
In-Reply-To: <28003.1460252943@sss.pgh.pa.us>
References: <E1alzSB-0002uZ-42@gemulon.postgresql.org>
	<12656.1460217008@sss.pgh.pa.us>
	<20160409234332.GA1747447@tornado.leadboat.com>
	<28003.1460252943@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

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



view thread (14+ messages)  latest in thread

Message-ID: <5835.1460254081@sss.pgh.pa.us>
Permalink:  ../5835.1460254081@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5835.1460254081@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, noah@leadboat.com, teodor@sigaev.ru, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Bloom index contrib module
  In-Reply-To: <5835.1460254081@sss.pgh.pa.us>
  References: <E1alzSB-0002uZ-42@gemulon.postgresql.org> <12656.1460217008@sss.pgh.pa.us> <20160409234332.GA1747447@tornado.leadboat.com> <28003.1460252943@sss.pgh.pa.us> <5835.1460254081@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox