pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make EXPLAIN output for JIT compilation more dense.
Date: Mon, 24 Sep 2018 20:45:53 +0000
Message-ID: <E1g4Xjt-00034m-BV@gemulon.postgresql.org> (raw)

Make EXPLAIN output for JIT compilation more dense.

A discussion about also reporting JIT compilation overhead on workers
brought unhappiness with the verbosity of the current explain format
to light.  Make the text format more dense, and restructure the
structured output to mirror that more closely.

As we're re-jiggering the output format anyway: The denser format
allows us to report all flags for JIT compilation (now also reporting
PGJIT_EXPR and PGJIT_DEFORM), and report the total time in addition to
the individual times.

Per complaint from Tom Lane.

Author: Andres Freund
Discussion: https://postgr.es/m/27812.1537221015@sss.pgh.pa.us
Backpatch: 11-, where JIT compilation was introduced

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6859bd2632d80e21d25830ac60bbb48bf12f6d46

Modified Files
--------------
src/backend/commands/explain.c | 89 ++++++++++++++++++++++++++++++------------
1 file changed, 64 insertions(+), 25 deletions(-)



view thread (2+ messages)

Message-ID: <E1g4Xjt-00034m-BV@gemulon.postgresql.org>
Permalink:  ../E1g4Xjt-00034m-BV@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1g4Xjt-00034m-BV@gemulon.postgresql.org

 · 

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: andres@anarazel.de
  Subject: Re: pgsql: Make EXPLAIN output for JIT compilation more dense.
  In-Reply-To: <E1g4Xjt-00034m-BV@gemulon.postgresql.org>
  References: <E1g4Xjt-00034m-BV@gemulon.postgresql.org>

* 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