Re: Reducing the runtime of the core regression tests

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Reducing the runtime of the core regression tests
Date: 2019-04-12 17:57:22
Message-ID: CAH2-WznfrRufPbgC-3ZBknG25i+Bq1zFkLTWruz+PVGY0_JSvw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Apr 12, 2019 at 10:49 AM Peter Geoghegan <pg(at)bowt(dot)ie> wrote:
> It's definitely generally recommended that "-O0" be used, so I think
> that we can agree that that was an improvement, even if it doesn't fix
> the remaining problem that I noticed when I rechecked nbtutils.c.

I'm not sure that we can really assume that "-O0" avoids the behavior
I pointed out. Perhaps this counts as "semantic flattening" or
something, rather than an optimization. I could have easily written
the code in _bt_keep_natts_fast() in the way gcov/gcc/whatever thinks
I ought to have, which would have obscured the distinction anyway.

--
Peter Geoghegan

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message reiner peterke 2019-04-12 18:04:00 PANIC: could not flush dirty data: Operation not permitted power8, Redhat Centos
Previous Message Robert Treat 2019-04-12 17:52:58 Re: Fix doc bug in logical replication.