pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Reduce running time of jsonb_sqljson test
Date: Wed, 06 Apr 2022 14:30:45 +0000
Message-ID: <E1nc6gG-000aiW-HK@gemulon.postgresql.org> (raw)

Reduce running time of jsonb_sqljson test

The test created a 1m row table in order to test parallel operation of
JSON_VALUE. However, this was more than were needed for the test, so
save time by halving it, and also by making the table unlogged.
Experimentation shows that this size is only a little above the number
required to generate the expected output.

Per gripe from Andres Freund

Discussion: https://postgr.es/m/20220406022118.3ocqvhxr6kciw5am@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2ef6f11b0c77ec323c688ddfd98ffabddb72c11d

Modified Files
--------------
src/test/regress/expected/jsonb_sqljson.out | 8 ++++----
src/test/regress/sql/jsonb_sqljson.sql      | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1nc6gG-000aiW-HK@gemulon.postgresql.org>
Permalink:  ../E1nc6gG-000aiW-HK@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1nc6gG-000aiW-HK@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: andrew@dunslane.net
  Subject: Re: pgsql: Reduce running time of jsonb_sqljson test
  In-Reply-To: <E1nc6gG-000aiW-HK@gemulon.postgresql.org>
  References: <E1nc6gG-000aiW-HK@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