Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fFVHq-0006qQ-Al for pgsql-hackers@arkaria.postgresql.org; Mon, 07 May 2018 01:49:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fFVHo-0004Pl-HX for pgsql-hackers@arkaria.postgresql.org; Mon, 07 May 2018 01:49:56 +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.89) (envelope-from ) id 1fFVHo-0004PM-13 for pgsql-hackers@lists.postgresql.org; Mon, 07 May 2018 01:49:56 +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.89) (envelope-from ) id 1fFVHl-0006A4-Bd for pgsql-hackers@lists.postgresql.org; Mon, 07 May 2018 01:49:54 +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 w471nkLF032460; Sun, 6 May 2018 21:49:46 -0400 From: Tom Lane To: Simon Riggs , Michael Paquier cc: pgsql-hackers@lists.postgresql.org Subject: Why did commit 6271fceb8 enable debug logging for all TAP tests? MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <32458.1525657786.1@sss.pgh.pa.us> Date: Sun, 06 May 2018 21:49:46 -0400 Message-ID: <32459.1525657786@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I've been trying to trace down a slowdown in HEAD's regression tests compared to the v10 branch, and one thing I discovered is that there was a noticeable across-the-board slowdown in the TAP tests as a result of commit 6271fceb8; as much as 10% for the "scripts" tests, though less in other places. The changes it made in xlog.c cannot explain that; it has to be down to this: diff --git a/src/test/perl/PostgresNode.pm b/src/test/perl/PostgresNode.pm index 93faadc20e..80f68df246 100644 --- a/src/test/perl/PostgresNode.pm +++ b/src/test/perl/PostgresNode.pm @@ -419,6 +419,7 @@ sub init print $conf "restart_after_crash = off\n"; print $conf "log_line_prefix = '%m [%p] %q%a '\n"; print $conf "log_statement = all\n"; + print $conf "log_min_messages = debug1\n"; print $conf "log_replication_commands = on\n"; print $conf "wal_retrieve_retry_interval = '500ms'\n"; print $conf "port = $port\n"; Now, that was neither mentioned in the commit message nor justified by any added test cases or scaffolding, so I'm assuming it was simply a mistake and should be reverted. Please confirm. regards, tom lane