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: Sun, 10 Apr 2016 13:17:13 -0400
Message-ID: <20117.1460308633@sss.pgh.pa.us> (raw)
In-Reply-To: <20160410060102.GC1741844@tornado.leadboat.com>
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>
	<20160410060102.GC1741844@tornado.leadboat.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Noah Misch <noah@leadboat.com> 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



view thread (14+ messages)

Message-ID: <20117.1460308633@sss.pgh.pa.us>
Permalink:  ../20117.1460308633@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20117.1460308633@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: <20117.1460308633@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> <20160410060102.GC1741844@tornado.leadboat.com> <20117.1460308633@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